haskell-opencv
haskell-opencv copied to clipboard
Fix build with the opencv4 flag
With these changes, we can build with the opencv4 flag.
@TeofilC What exact error does it fix?
Also, this does not include many of the changes of PR #157 -- would those changes also fix your problem?
@nh2 I hadn't tried your branch before but that seems to work too. It looks like it removes the CPP from the file that I needed to add the language pragma to, so it fixes this issue.
Is there anything stopping from your PR being merged? If not let's close this in favour of yours and merge it.
Here are the failing build logs without either change:
Details
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/wh3mh252i2h9ph9hcafibar9ag0s7nlf-haskell-opencv-71296dd/opencv
source root is opencv
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/yhc47r31v3j78nadmz25wvy0pndd2wa1-opencv-lib-opencv-0.0.2.1 lib:opencv --package-db=clear --package-db=/build/tmp.90Dg9o9pUn/lib/ghc-9.10.1/lib/package.conf.d --flags=-internal-documentation --flags=opencv4 --exact-configuration --dependency=JuicyPixels=JuicyPixels-3.3.9-IVoDCv7PZyRLQ4oYVUU7it --dependency=primitive=primitive-0.9.0.0-E3mDWyaMF4OIki7z5jah63 --dependency=vector=vector-0.13.2.0-Ov0z2YdpPzFyhU1txIZJg --dependency=vector-stream=vector-stream-0.1.0.1-5YoiwZF1pkBKwInfcy9FMb --dependency=zlib=zlib-0.7.1.0-1vUaw5iwbvNHP5ueHMnEoc --dependency=aeson=aeson-2.2.3.0-Ha64ffTmpZJKbeIYTbtOZ0 --dependency=OneTuple=OneTuple-0.4.2-LPv9Ptl2zX7IYBlqwnekO7 --dependency=QuickCheck=QuickCheck-2.14.3-FUCq6NGqbNnK49J4PR12Tu --dependency=random=random-1.2.1.3-I8DbSvmHm7S6V4mU9k4UNF --dependency=splitmix=splitmix-0.1.1-5on96OKeFGyBSpbO1KYgWf --dependency=splitmix=splitmix-0.1.1-5on96OKeFGyBSpbO1KYgWf --dependency=character-ps=character-ps-0.1-6qwAP8r4Gf9CkYfTkInLDK --dependency=data-fix=data-fix-0.3.4-9qZVgBENM4cGttLkjwqUgQ --dependency=hashable=hashable-1.4.7.0-7DOVm7KokYX2RmHnXHUtIM --dependency=dlist=dlist-1.0-DRNmr6jB5Va8U42NvEjRYr --dependency=generically=generically-0.1.1-AhJZCo4vK5p7MAUn9M5T3y --dependency=indexed-traversable=indexed-traversable-0.1.4-GrkXVlduNJU6HwOKwrPCNE --dependency=integer-conversion=integer-conversion-0.1.1-BozxHWuI1uFDuR9jertOAA --dependency=integer-logarithms=integer-logarithms-1.0.4-JlZLZqaCcg8AdD9n4FPWIw --dependency=network-uri=network-uri-2.6.4.2-E8LVMJw3xhU27dwpt5eqVZ --dependency=th-compat=th-compat-0.1.6-Ldb0pZc12Nv1agQNuTstM7 --dependency=scientific=scientific-0.3.8.0-26laMsOlgA54BnrIaB01gN --dependency=semialign=semialign-1.3.1-GAcsk6f9G5LBTzHyzKD5HT --dependency=indexed-traversable-instances=indexed-traversable-instances-0.1.2-5qEEI2U3qJIC7CReK7fssd --dependency=tagged=tagged-0.8.9-8tLpQoFVlTb6w9Y7Nhpzar --dependency=unordered-containers=unordered-containers-0.2.20-65T4pG1YEZqJYOugg3FvAq --dependency=semigroupoids=semigroupoids-6.0.1-CjAaxvxr0tH2HhLto8jDpJ --dependency=base-orphans=base-orphans-0.9.3-Jm2d0DnqEGvIVhe0IVS9kl --dependency=bifunctors=bifunctors-5.6.2-73HOhJl6xEGKnQbWg9Zevn --dependency=assoc=assoc-1.1.1-Ja33SOscpMpLRstwP41a5v --dependency=comonad=comonad-5.0.9-IAibuKaJ1BsHq9MrO10Aiv --dependency=distributive=distributive-0.6.2.1-44R5Z8S1C7d22zEHmgspd6 --dependency=transformers-compat=transformers-compat-0.7.2-Efg4IzHxBJY22Q2yfRIXIA --dependency=th-abstraction=th-abstraction-0.7.1.0-26pbdb2QUSCHn0B9SqZNC2 --dependency=contravariant=contravariant-1.5.5-3p1K0neAgnFA0tfPPdtIyV --dependency=StateVar=StateVar-1.2.2-Dy7GHqm9O0yFuFoIVgxacB --dependency=these=these-1.2.1-HgrAMrFowzs6w1DXgNNScD --dependency=strict=strict-0.5.1-6MSJr5GwC4w5plgGo4DxFN --dependency=text-iso8601=text-iso8601-0.1.1-EqrQoifU4jB83Tu4NRacO0 --dependency=time-compat=time-compat-1.9.8-7NcnUP7Dtk27iUHhSgyTDP --dependency=text-short=text-short-0.1.6-1XNqKeLDPZGIi4O8jbqXzt --dependency=uuid-types=uuid-types-1.0.6-3GznckvaoiJIV5QTdhrjNm --dependency=witherable=witherable-0.5-7Tzwp6jZtkF1r30Y0LvB2V --dependency=bindings-DSL=bindings-DSL-1.0.25-JewJ7iJXVG68pQPv980S30 --dependency=data-default=data-default-0.8.0.0-2oWsJ52Td01AJaqZepl521 --dependency=inline-c-cpp=inline-c-cpp-0.5.0.2-4m7UtQn5KpxDEqWlf7ffMq --dependency=inline-c=inline-c-0.9.1.10-2wGAEhntLsd1QJEkD7S80T --dependency=parsers=parsers-0.12.12-JzAryhGVocD7utJHYVlMtw --dependency=attoparsec=attoparsec-0.14.4-FelrGTrEJgX9b7zSI4f1Ve --dependency=attoparsec-internal=attoparsec-0.14.4-EwwwJaA8U1sBshxY2EScrN-attoparsec-internal --dependency=attoparsec:attoparsec-internal=attoparsec-0.14.4-EwwwJaA8U1sBshxY2EScrN-attoparsec-internal --dependency=charset=charset-0.3.12-Dx0N0uzRejO33QWJLPnXaO --dependency=prettyprinter=prettyprinter-1.7.1-7048bHBkgge30HLhXX2PDl --dependency=safe-exceptions=safe-exceptions-0.1.7.4-EzwauJlBBlx7tEMqwncMg --dependency=linear=linear-1.23.1-BvXukxSOtANKxnRGL8CfRt --dependency=adjunctions=adjunctions-4.4.3-GXe8cLZXu3yCdcuLc7yL7r --dependency=free=free-5.2-CIFEkfsCyw26h8UIGuYJhR --dependency=profunctors=profunctors-5.6.2-e0PmXPJSESL6s9wUVTdCq --dependency=transformers-base=transformers-base-0.4.6-9ug7JKBxXawFCUZEIVP7Ia --dependency=semigroups=semigroups-0.20-BX4DKMhnJZvFEXaMvrKEv2 --dependency=void=void-0.7.3-9mHQCglYcXkFBAjlUt1kXC --dependency=bytes=bytes-0.17.4-AzhKiCNrU7yGfTQxJiViYd --dependency=binary-orphans=binary-orphans-1.0.5-K31vq6t0cuHLdU4I90nPDd --dependency=cereal=cereal-0.5.8.3-BftwiZrgDXJUFhq0Sfcni --dependency=cereal=cereal-0.5.8.3-BftwiZrgDXJUFhq0Sfcni --dependency=lens=lens-5.3.4-HId9tCpr5206lEiQFLl1Fm --dependency=call-stack=call-stack-0.4.0-F9O1GQwuupx8505aPpBR9k --dependency=kan-extensions=kan-extensions-5.2.6-rBCTAPj2hrVURMlhESDz --dependency=invariant=invariant-0.6.4-4FkzKC4IofiFoh21iASqUP --dependency=parallel=parallel-3.2.2.0-IqDBWAfXZ0I3yROLoenRWs --dependency=reflection=reflection-2.1.9-5pPRENVwPxFEKp11BI7M72 --dependency=reflection=reflection-2.1.9-5pPRENVwPxFEKp11BI7M72 --dependency=repa=repa-3.4.1.5-ICcCcsMtEZMArEZizD8kDO --dependency=array=array-0.5.7.0-inplace --dependency=base=base-4.20.0.0-inplace --dependency=binary=binary-0.8.9.2-inplace --dependency=bytestring=bytestring-0.12.1.0-inplace --dependency=containers=containers-0.7-inplace --dependency=deepseq=deepseq-1.5.0.0-inplace --dependency=exceptions=exceptions-0.10.7-inplace --dependency=filepath=filepath-1.5.2.0-inplace --dependency=ghc-bignum=ghc-bignum-1.3-inplace --dependency=ghc-boot-th=ghc-boot-th-9.10.1-inplace --dependency=ghc-internal=ghc-internal-9.1001.0-inplace --dependency=ghc-prim=ghc-prim-0.11.0-inplace --dependency=integer-gmp=integer-gmp-1.1-inplace --dependency=mtl=mtl-2.3.1-inplace --dependency=os-string=os-string-2.0.2-inplace --dependency=parsec=parsec-3.1.17.0-inplace --dependency=pretty=pretty-1.1.3.6-inplace --dependency=rts=rts-1.0.2 --dependency=stm=stm-2.5.3.1-inplace --dependency=system-cxx-std-lib=system-cxx-std-lib-1.0 --dependency=template-haskell=template-haskell-2.22.0.0-inplace --dependency=text=text-2.1.1-inplace --dependency=time=time-1.12.2-inplace --dependency=transformers=transformers-0.6.1.1-inplace --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-pkg-config=pkg-config --with-gcc=cc --with-ar=ar --with-strip=strip --with-ld=ld --enable-executable-stripping --enable-library-stripping --enable-library-profiling --disable-profiling --enable-static --enable-shared --disable-executable-dynamic --disable-coverage --disable-library-for-ghci --datadir=/nix/store/51s46x888air0rvi9wwyn8xjgmlsakp5-opencv-lib-opencv-0.0.2.1-data/share/ghc-9.10.1 --profiling-detail=default --enable-split-sections --ghc-options=-finfo-table-map\ -fdistinct-constructor-tables
Configuring library for opencv-0.0.2.1..
Warning: Instead of 'ghc-options: -lstdc++' use 'extra-libraries: stdc++'
Warning: Instead of 'ghc-options: -lstdc++' use 'extra-libraries-static:
stdc++'
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Preprocessing library for opencv-0.0.2.1..
Building library for opencv-0.0.2.1..
[ 1 of 77] Compiling OpenCV.Internal ( src/OpenCV/Internal.hs, dist/build/OpenCV/Internal.o, dist/build/OpenCV/Internal.dyn_o )
[ 2 of 77] Compiling OpenCV.Internal.C.FinalizerTH ( src/OpenCV/Internal/C/FinalizerTH.hs, dist/build/OpenCV/Internal/C/FinalizerTH.o, dist/build/OpenCV/Internal/C/FinalizerTH.dyn_o )
[;1msrc/OpenCV/Internal/C/FinalizerTH.hs:15:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m15 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[ 3 of 77] Compiling OpenCV.Internal.C.PlacementNew ( src/OpenCV/Internal/C/PlacementNew.hs, dist/build/OpenCV/Internal/C/PlacementNew.o, dist/build/OpenCV/Internal/C/PlacementNew.dyn_o )
[ 4 of 77] Compiling OpenCV.Internal.C.PlacementNew.TH ( src/OpenCV/Internal/C/PlacementNew/TH.hs, dist/build/OpenCV/Internal/C/PlacementNew/TH.o, dist/build/OpenCV/Internal/C/PlacementNew/TH.dyn_o )
[;1msrc/OpenCV/Internal/C/PlacementNew/TH.hs:11:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m11 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[ 5 of 77] Compiling OpenCV.Internal.Calib3d.Constants ( dist/build/OpenCV/Internal/Calib3d/Constants.hs, dist/build/OpenCV/Internal/Calib3d/Constants.o, dist/build/OpenCV/Internal/Calib3d/Constants.dyn_o )
[ 6 of 77] Compiling OpenCV.Internal.Core.ArrayOps ( dist/build/OpenCV/Internal/Core/ArrayOps.hs, dist/build/OpenCV/Internal/Core/ArrayOps.o, dist/build/OpenCV/Internal/Core/ArrayOps.dyn_o )
[ 7 of 77] Compiling OpenCV.Internal.Core.System.Constants ( dist/build/OpenCV/Internal/Core/System/Constants.hs, dist/build/OpenCV/Internal/Core/System/Constants.o, dist/build/OpenCV/Internal/Core/System/Constants.dyn_o )
[ 8 of 77] Compiling OpenCV.Internal.Core.Types.Constants ( dist/build/OpenCV/Internal/Core/Types/Constants.hs, dist/build/OpenCV/Internal/Core/Types/Constants.o, dist/build/OpenCV/Internal/Core/Types/Constants.dyn_o )
[ 9 of 77] Compiling OpenCV.Internal.Features2d.Constants ( dist/build/OpenCV/Internal/Features2d/Constants.hs, dist/build/OpenCV/Internal/Features2d/Constants.o, dist/build/OpenCV/Internal/Features2d/Constants.dyn_o )
[10 of 77] Compiling OpenCV.Internal.ImgCodecs ( dist/build/OpenCV/Internal/ImgCodecs.hs, dist/build/OpenCV/Internal/ImgCodecs.o, dist/build/OpenCV/Internal/ImgCodecs.dyn_o )
[11 of 77] Compiling OpenCV.Internal.Mutable ( src/OpenCV/Internal/Mutable.hs, dist/build/OpenCV/Internal/Mutable.o, dist/build/OpenCV/Internal/Mutable.dyn_o )
[;1msrc/OpenCV/Internal/Mutable.hs:18:27: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m18 |[0m[0m type family Mutable (a :: [;1m[35m*[0m[0m) :: * -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Mutable.hs:18:33: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m18 |[0m[0m type family Mutable (a :: *) :: [;1m[35m*[0m[0m -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Mutable.hs:18:38: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m18 |[0m[0m type family Mutable (a :: *) :: * -> [;1m[35m*[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[12 of 77] Compiling OpenCV.Internal.C.Types ( src/OpenCV/Internal/C/Types.hs, dist/build/OpenCV/Internal/C/Types.o, dist/build/OpenCV/Internal/C/Types.dyn_o )
[;1msrc/OpenCV/Internal/C/Types.hs:18:52: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m18 |[0m[0m data C'Matx (dimR :: Nat) (dimC :: Nat) (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/C/Types.hs:19:37: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m19 |[0m[0m data C'Vec (dim :: Nat) (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/C/Types.hs:20:37: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m20 |[0m[0m data C'Point (dim :: Nat) (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/C/Types.hs:21:24: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m21 |[0m[0m data C'Size (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/C/Types.hs:22:24: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m22 |[0m[0m data C'Rect (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/C/Types.hs:182:21: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m182 |[0m[0m type family C (a :: [;1m[35m*[0m[0m) :: *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/C/Types.hs:182:27: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m182 |[0m[0m type family C (a :: *) :: [;1m[35m*[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[13 of 77] Compiling OpenCV.Internal.Core.Types.Vec ( src/OpenCV/Internal/Core/Types/Vec.hs, dist/build/OpenCV/Internal/Core/Types/Vec.o, dist/build/OpenCV/Internal/Core/Types/Vec.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Vec.hs:21:36: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m21 |[0m[0m newtype Vec (dim :: Nat) (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Vec.hs:29:26: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m type family VecDim (v :: [;1m[35m*[0m[0m -> *) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Vec.hs:29:31: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m type family VecDim (v :: * -> [;1m[35m*[0m[0m) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Vec.hs:37:19: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m37 |[0m[0m class IsVec (v :: [;1m[35m*[0m[0m -> *) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Vec.hs:37:24: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m37 |[0m[0m class IsVec (v :: * -> [;1m[35m*[0m[0m) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Vec.hs:37:37: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m37 |[0m[0m class IsVec (v :: * -> *) (depth :: [;1m[35m*[0m[0m) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[14 of 77] Compiling OpenCV.Internal.Core.Types.Vec.TH ( src/OpenCV/Internal/Core/Types/Vec/TH.hs, dist/build/OpenCV/Internal/Core/Types/Vec/TH.o, dist/build/OpenCV/Internal/Core/Types/Vec/TH.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Vec/TH.hs:14:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m14 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[15 of 77] Compiling OpenCV.Internal.Core.Types.Size ( src/OpenCV/Internal/Core/Types/Size.hs, dist/build/OpenCV/Internal/Core/Types/Size.o, dist/build/OpenCV/Internal/Core/Types/Size.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Size.hs:21:24: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m21 |[0m[0m newtype Size (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Size.hs:29:20: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m class IsSize (p :: [;1m[35m*[0m[0m -> *) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Size.hs:29:25: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m class IsSize (p :: * -> [;1m[35m*[0m[0m) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Size.hs:29:38: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m class IsSize (p :: * -> *) (depth :: [;1m[35m*[0m[0m) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[16 of 77] Compiling OpenCV.Internal.Core.Types.Size.TH ( src/OpenCV/Internal/Core/Types/Size/TH.hs, dist/build/OpenCV/Internal/Core/Types/Size/TH.o, dist/build/OpenCV/Internal/Core/Types/Size/TH.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Size/TH.hs:14:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m14 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[17 of 77] Compiling OpenCV.Internal.Core.Types.Point ( src/OpenCV/Internal/Core/Types/Point.hs, dist/build/OpenCV/Internal/Core/Types/Point.o, dist/build/OpenCV/Internal/Core/Types/Point.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Point.hs:24:38: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m24 |[0m[0m newtype Point (dim :: Nat) (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Point.hs:32:28: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m32 |[0m[0m type family PointDim (v :: [;1m[35m*[0m[0m -> *) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Point.hs:32:33: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m32 |[0m[0m type family PointDim (v :: * -> [;1m[35m*[0m[0m) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Point.hs:39:21: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m39 |[0m[0m class IsPoint (p :: [;1m[35m*[0m[0m -> *) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Point.hs:39:26: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m39 |[0m[0m class IsPoint (p :: * -> [;1m[35m*[0m[0m) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Point.hs:39:39: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m39 |[0m[0m class IsPoint (p :: * -> *) (depth :: [;1m[35m*[0m[0m) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[18 of 77] Compiling OpenCV.Internal.Core.Types.Point.TH ( src/OpenCV/Internal/Core/Types/Point/TH.hs, dist/build/OpenCV/Internal/Core/Types/Point/TH.o, dist/build/OpenCV/Internal/Core/Types/Point/TH.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Point/TH.hs:14:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m14 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[19 of 77] Compiling OpenCV.Internal.Core.Types.Matx ( src/OpenCV/Internal/Core/Types/Matx.hs, dist/build/OpenCV/Internal/Core/Types/Matx.o, dist/build/OpenCV/Internal/Core/Types/Matx.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:21:52: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m21 |[0m[0m newtype Matx (dimR :: Nat) (dimC :: Nat) (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:29:28: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m type family MatxDimR (m :: [;1m[35m*[0m[0m -> *) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:29:33: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m29 |[0m[0m type family MatxDimR (m :: * -> [;1m[35m*[0m[0m) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:30:28: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m30 |[0m[0m type family MatxDimC (m :: [;1m[35m*[0m[0m -> *) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:30:33: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m30 |[0m[0m type family MatxDimC (m :: * -> [;1m[35m*[0m[0m) :: Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:35:20: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m35 |[0m[0m class IsMatx (m :: [;1m[35m*[0m[0m -> *) depth where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Matx.hs:35:25: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m35 |[0m[0m class IsMatx (m :: * -> [;1m[35m*[0m[0m) depth where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[20 of 77] Compiling OpenCV.Internal.Core.Types.Matx.TH ( src/OpenCV/Internal/Core/Types/Matx/TH.hs, dist/build/OpenCV/Internal/Core/Types/Matx/TH.o, dist/build/OpenCV/Internal/Core/Types/Matx/TH.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Matx/TH.hs:14:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m14 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[21 of 77] Compiling OpenCV.Internal.C.Inline ( src/OpenCV/Internal/C/Inline.hs, dist/build/OpenCV/Internal/C/Inline.o, dist/build/OpenCV/Internal/C/Inline.dyn_o )
[;1msrc/OpenCV/Internal/C/Inline.hs:13:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m13 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[22 of 77] Compiling OpenCV.Core.Types.Vec ( src/OpenCV/Core/Types/Vec.hs, dist/build/OpenCV/Core/Types/Vec.o, dist/build/OpenCV/Core/Types/Vec.dyn_o )
[23 of 77] Compiling OpenCV.Core.Types.Size ( src/OpenCV/Core/Types/Size.hs, dist/build/OpenCV/Core/Types/Size.o, dist/build/OpenCV/Core/Types/Size.dyn_o )
[24 of 77] Compiling OpenCV.Core.Types.Point ( src/OpenCV/Core/Types/Point.hs, dist/build/OpenCV/Core/Types/Point.o, dist/build/OpenCV/Core/Types/Point.dyn_o )
[25 of 77] Compiling OpenCV.Internal.Core.Types.Rect ( src/OpenCV/Internal/Core/Types/Rect.hs, dist/build/OpenCV/Internal/Core/Types/Rect.o, dist/build/OpenCV/Internal/Core/Types/Rect.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:27:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Foldableâ is redundant
except perhaps to import instances from âData.Foldableâ
To import instances alone, use: import Data.Foldable()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m27 |[0m[0m [;1m[35mimport "base" Data.Foldable ( Foldable )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:28:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Traversableâ is redundant
except perhaps to import instances from âData.Traversableâ
To import instances alone, use: import Data.Traversable()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m28 |[0m[0m [;1m[35mimport "base" Data.Traversable ( Traversable )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:33:24: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m33 |[0m[0m newtype Rect (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:47:29: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m47 |[0m[0m type family RectPoint (r :: [;1m[35m*[0m[0m -> *) :: * -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:47:34: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m47 |[0m[0m type family RectPoint (r :: * -> [;1m[35m*[0m[0m) :: * -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:47:40: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m47 |[0m[0m type family RectPoint (r :: * -> *) :: [;1m[35m*[0m[0m -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:47:45: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m47 |[0m[0m type family RectPoint (r :: * -> *) :: * -> [;1m[35m*[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:48:29: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m48 |[0m[0m type family RectSize (r :: [;1m[35m*[0m[0m -> *) :: * -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:48:34: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m48 |[0m[0m type family RectSize (r :: * -> [;1m[35m*[0m[0m) :: * -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:48:40: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m48 |[0m[0m type family RectSize (r :: * -> *) :: [;1m[35m*[0m[0m -> *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:48:45: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m48 |[0m[0m type family RectSize (r :: * -> *) :: * -> [;1m[35m*[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:56:20: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m56 |[0m[0m class IsRect (r :: [;1m[35m*[0m[0m -> *) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:56:25: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m56 |[0m[0m class IsRect (r :: * -> [;1m[35m*[0m[0m) (depth :: *) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Rect.hs:56:38: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m56 |[0m[0m class IsRect (r :: * -> *) (depth :: [;1m[35m*[0m[0m) where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[26 of 77] Compiling OpenCV.Internal.Core.Types.Rect.TH ( src/OpenCV/Internal/Core/Types/Rect/TH.hs, dist/build/OpenCV/Internal/Core/Types/Rect/TH.o, dist/build/OpenCV/Internal/Core/Types/Rect/TH.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Rect/TH.hs:13:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m13 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[27 of 77] Compiling OpenCV.Core.Types.Rect ( src/OpenCV/Core/Types/Rect.hs, dist/build/OpenCV/Core/Types/Rect.o, dist/build/OpenCV/Core/Types/Rect.dyn_o )
[28 of 77] Compiling OpenCV.Internal.ImgProc.MiscImgTransform ( dist/build/OpenCV/Internal/ImgProc/MiscImgTransform.hs, dist/build/OpenCV/Internal/ImgProc/MiscImgTransform.o, dist/build/OpenCV/Internal/ImgProc/MiscImgTransform.dyn_o )
[29 of 77] Compiling OpenCV.Core.Types.Matx ( src/OpenCV/Core/Types/Matx.hs, dist/build/OpenCV/Core/Types/Matx.o, dist/build/OpenCV/Core/Types/Matx.dyn_o )
[30 of 77] Compiling OpenCV.Core.System ( src/OpenCV/Core/System.hs, dist/build/OpenCV/Core/System.o, dist/build/OpenCV/Core/System.dyn_o )
[31 of 77] Compiling OpenCV.Internal.Photo.Constants ( dist/build/OpenCV/Internal/Photo/Constants.hs, dist/build/OpenCV/Internal/Photo/Constants.o, dist/build/OpenCV/Internal/Photo/Constants.dyn_o )
[32 of 77] Compiling OpenCV.Internal.VideoIO.Constants ( dist/build/OpenCV/Internal/VideoIO/Constants.hs, dist/build/OpenCV/Internal/VideoIO/Constants.o, dist/build/OpenCV/Internal/VideoIO/Constants.dyn_o )
[33 of 77] Compiling OpenCV.Internal.VideoIO.Types ( src/OpenCV/Internal/VideoIO/Types.hs, dist/build/OpenCV/Internal/VideoIO/Types.o, dist/build/OpenCV/Internal/VideoIO/Types.dyn_o )
[34 of 77] Compiling OpenCV.TypeLevel ( src/OpenCV/TypeLevel.hs, dist/build/OpenCV/TypeLevel.o, dist/build/OpenCV/TypeLevel.dyn_o )
[35 of 77] Compiling OpenCV.Internal.ImgProc.MiscImgTransform.TypeLevel ( src/OpenCV/Internal/ImgProc/MiscImgTransform/TypeLevel.hs, dist/build/OpenCV/Internal/ImgProc/MiscImgTransform/TypeLevel.o, dist/build/OpenCV/Internal/ImgProc/MiscImgTransform/TypeLevel.dyn_o )
[36 of 77] Compiling OpenCV.Internal.ImgProc.MiscImgTransform.ColorCodes ( src/OpenCV/Internal/ImgProc/MiscImgTransform/ColorCodes.hs, dist/build/OpenCV/Internal/ImgProc/MiscImgTransform/ColorCodes.o, dist/build/OpenCV/Internal/ImgProc/MiscImgTransform/ColorCodes.dyn_o )
[;1msrc/OpenCV/Internal/ImgProc/MiscImgTransform/ColorCodes.hs:538:90: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m538 |[0m[0m type family ColorCodeDepth (srcCode :: ColorCode) (dstCode :: ColorCode) (srcDepth :: DS [;1m[35m*[0m[0m) :: DS * where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/ImgProc/MiscImgTransform/ColorCodes.hs:538:99: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m538 |[0m[0m type family ColorCodeDepth (srcCode :: ColorCode) (dstCode :: ColorCode) (srcDepth :: DS *) :: DS [;1m[35m*[0m[0m where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[37 of 77] Compiling OpenCV.ImgProc.MiscImgTransform.ColorCodes ( src/OpenCV/ImgProc/MiscImgTransform/ColorCodes.hs, dist/build/OpenCV/ImgProc/MiscImgTransform/ColorCodes.o, dist/build/OpenCV/ImgProc/MiscImgTransform/ColorCodes.dyn_o )
[38 of 77] Compiling OpenCV.Internal.Core.Types.Mat.Depth ( src/OpenCV/Internal/Core/Types/Mat/Depth.hs, dist/build/OpenCV/Internal/Core/Types/Mat/Depth.o, dist/build/OpenCV/Internal/Core/Types/Mat/Depth.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:72:28: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m72 |[0m[0m type family DepthT a :: DS [;1m[35m*[0m[0m where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:74:25: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m74 |[0m[0m DepthT (proxy (d :: [;1m[35m*[0m[0m)) = 'S d
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:75:29: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m75 |[0m[0m DepthT (proxy (ds :: DS [;1m[35m*[0m[0m)) = ds
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:77:31: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m77 |[0m[0m type family StaticDepthT a :: [;1m[35m*[0m[0m where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:78:35: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m78 |[0m[0m StaticDepthT (proxy ('S (d :: [;1m[35m*[0m[0m))) = d
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:79:35: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m79 |[0m[0m StaticDepthT (proxy (d :: [;1m[35m*[0m[0m)) = d
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/Depth.hs:80:35: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m80 |[0m[0m StaticDepthT (d :: [;1m[35m*[0m[0m) = d
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[39 of 77] Compiling OpenCV.Internal.Exception ( src/OpenCV/Internal/Exception.hs, dist/build/OpenCV/Internal/Exception.o, dist/build/OpenCV/Internal/Exception.dyn_o )
[;1msrc/OpenCV/Internal/Exception.hs:43:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m43 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[40 of 77] Compiling OpenCV.Internal.Core.Types ( src/OpenCV/Internal/Core/Types.hs, dist/build/OpenCV/Internal/Core/Types.o, dist/build/OpenCV/Internal/Core/Types.dyn_o )
[41 of 77] Compiling OpenCV.Internal.ImgProc.StructuralAnalysis ( src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs, dist/build/OpenCV/Internal/ImgProc/StructuralAnalysis.o, dist/build/OpenCV/Internal/ImgProc/StructuralAnalysis.dyn_o )
[;1msrc/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:117:14: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-18042\GHC-18042]8;;\] [[;1m[35m-Wtype-defaults[0m[0m[;1m][0m[0m[;1m
⢠Defaulting the type variable âa0â to type âIntegerâ in the following constraints
(Integral a0)
arising from a use of âfromIntegralâ
at src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:117:14-25
(Num a0)
arising from a use of âfromBoolâ
at src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:117:28-35
⢠In the sixth argument of âapproxPolyDP_internalâ, namely
â(fromIntegral (fromBool isClosed))â
In the second argument of â($)â, namely
âapproxPolyDP_internal
(fromIntegral $ V.length curve) curvePtr approxSizePtr approxPtrPtr
(toCDouble epsilon) (fromIntegral (fromBool isClosed))â
In the expression:
handleCvException
(do approxSize <- fromIntegral <$> peek approxSizePtr
approxPtr :: Ptr (Ptr (C (Point 2 depth))) <- peek approxPtrPtr
approxList :: [Ptr (C (Point 2 depth))] <- peekArray
approxSize approxPtr
approxVec <- V.fromList <$> mapM (fromPtr . pure) approxList
approxPolyDP_deletePtrArray approxPtrPtr
....)
$ approxPolyDP_internal
(fromIntegral $ V.length curve) curvePtr approxSizePtr approxPtrPtr
(toCDouble epsilon) (fromIntegral (fromBool isClosed))[0m[0m
[;1m[34m |[0m[0m
[;1m[34m117 |[0m[0m ([;1m[35mfromIntegral[0m[0m (fromBool isClosed))
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:325:14: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-18042\GHC-18042]8;;\] [[;1m[35m-Wtype-defaults[0m[0m[;1m][0m[0m[;1m
⢠Defaulting the type variable âa0â to type âIntegerâ in the following constraints
(Integral a0)
arising from a use of âfromIntegralâ
at src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:325:14-25
(Num a0)
arising from a use of âfromBoolâ
at src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:325:28-35
⢠In the third argument of âconvexHull_internalâ, namely
â(fromIntegral (fromBool clockwise))â
In the second argument of â($)â, namely
âconvexHull_internal
(fromIntegral $ V.length points) pointsPtr
(fromIntegral (fromBool clockwise)) hullPointsPtrPtr hullSizePtrâ
In the expression:
handleCvException
(do hullSize <- fromIntegral <$> peek hullSizePtr
hullPointsPtr :: Ptr (Ptr (C (Point 2 depth))) <- peek
hullPointsPtrPtr
hullPointsList :: [Ptr (C (Point 2 depth))] <- peekArray
hullSize hullPointsPtr
hullPointsVec <- V.fromList
<$> mapM (fromPtr . pure) hullPointsList
convexHull_deletePtrArray hullPointsPtrPtr
....)
$ convexHull_internal
(fromIntegral $ V.length points) pointsPtr
(fromIntegral (fromBool clockwise)) hullPointsPtrPtr hullSizePtr[0m[0m
[;1m[34m |[0m[0m
[;1m[34m325 |[0m[0m ([;1m[35mfromIntegral[0m[0m (fromBool clockwise))
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:452:14: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-18042\GHC-18042]8;;\] [[;1m[35m-Wtype-defaults[0m[0m[;1m][0m[0m[;1m
⢠Defaulting the type variable âa0â to type âIntegerâ in the following constraints
(Integral a0)
arising from a use of âfromIntegralâ
at src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:452:14-25
(Num a0)
arising from a use of âfromBoolâ
at src/OpenCV/Internal/ImgProc/StructuralAnalysis.hs:452:28-35
⢠In the third argument of âconvexHullIndices_internalâ, namely
â(fromIntegral (fromBool clockwise))â
In the second argument of â($)â, namely
âconvexHullIndices_internal
(fromIntegral $ V.length points) pointsPtr
(fromIntegral (fromBool clockwise)) hullIndicesPtrPtr hullSizePtrâ
In the expression:
handleCvException
(do hullSize <- fromIntegral <$> peek hullSizePtr
hullIndicesPtr :: Ptr Int32 <- peek hullIndicesPtrPtr
let freeHullIndices
= (((\ cont_a1GcQ -> cont_a1GcQ (hullIndicesPtr :: Ptr Int32))
$ (\ arg_a1GcR
-> inline_c_ffi_6989586621679410367_a1GcU arg_a1GcR)))
hullIndicesForeignPtr <- newForeignPtr
hullIndicesPtr freeHullIndices
pure $ VS.unsafeFromForeignPtr0 hullIndicesForeignPtr hullSize)
$ convexHullIndices_internal
(fromIntegral $ V.length points) pointsPtr
(fromIntegral (fromBool clockwise)) hullIndicesPtrPtr hullSizePtr[0m[0m
[;1m[34m |[0m[0m
[;1m[34m452 |[0m[0m ([;1m[35mfromIntegral[0m[0m (fromBool clockwise))
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^[0m[0m
[42 of 77] Compiling OpenCV.Exception ( src/OpenCV/Exception.hs, dist/build/OpenCV/Exception.o, dist/build/OpenCV/Exception.dyn_o )
[43 of 77] Compiling OpenCV.Internal.Core.Types.Mat.Marshal ( dist/build/OpenCV/Internal/Core/Types/Mat/Marshal.hs, dist/build/OpenCV/Internal/Core/Types/Mat/Marshal.o, dist/build/OpenCV/Internal/Core/Types/Mat/Marshal.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Mat/Marshal.hsc:16:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m16 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[44 of 77] Compiling OpenCV.Internal.Core.Types.Mat ( src/OpenCV/Internal/Core/Types/Mat.hs, dist/build/OpenCV/Internal/Core/Types/Mat.o, dist/build/OpenCV/Internal/Core/Types/Mat.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Mat.hs:97:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m97 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat.hs:184:29: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m184 |[0m[0m (depth :: DS [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[45 of 77] Compiling OpenCV.Photo ( src/OpenCV/Photo.hs, dist/build/OpenCV/Photo.o, dist/build/OpenCV/Photo.dyn_o )
[46 of 77] Compiling OpenCV.Core.Types.Mat.Repa ( src/OpenCV/Core/Types/Mat/Repa.hs, dist/build/OpenCV/Core/Types/Mat/Repa.o, dist/build/OpenCV/Core/Types/Mat/Repa.dyn_o )
[;1msrc/OpenCV/Core/Types/Mat/Repa.hs:60:31: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m60 |[0m[0m type family DIM (n :: Nat) :: [;1m[35m*[0m[0m where
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Core/Types/Mat/Repa.hs:70:28: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m70 |[0m[0m (depth :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Core/Types/Mat/Repa.hs:72:28: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m72 |[0m[0m (sh :: [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[47 of 77] Compiling OpenCV.Unsafe ( src/OpenCV/Unsafe.hs, dist/build/OpenCV/Unsafe.o, dist/build/OpenCV/Unsafe.dyn_o )
[48 of 77] Compiling OpenCV.Internal.Core.Types.Mat.ToFrom ( src/OpenCV/Internal/Core/Types/Mat/ToFrom.hs, dist/build/OpenCV/Internal/Core/Types/Mat/ToFrom.o, dist/build/OpenCV/Internal/Core/Types/Mat/ToFrom.dyn_o )
[;1msrc/OpenCV/Internal/Core/Types/Mat/ToFrom.hs:51:31: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m51 |[0m[0m type family MatShape (a :: [;1m[35m*[0m[0m) :: DS [DS Nat]
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/ToFrom.hs:52:31: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m52 |[0m[0m type family MatChannels (a :: [;1m[35m*[0m[0m) :: DS Nat
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/ToFrom.hs:53:31: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m53 |[0m[0m type family MatDepth (a :: [;1m[35m*[0m[0m) :: DS *
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Internal/Core/Types/Mat/ToFrom.hs:53:40: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m53 |[0m[0m type family MatDepth (a :: *) :: DS [;1m[35m*[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[49 of 77] Compiling OpenCV.Core.Types.Mat ( src/OpenCV/Core/Types/Mat.hs, dist/build/OpenCV/Core/Types/Mat.o, dist/build/OpenCV/Core/Types/Mat.dyn_o )
[;1msrc/OpenCV/Core/Types/Mat.hs:79:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Listâ is redundant
except perhaps to import instances from âData.Listâ
To import instances alone, use: import Data.List()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m79 |[0m[0m [;1m[35mimport "base" Data.List ( foldl' )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Core/Types/Mat.hs:350:67: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m350 |[0m[0m foldMat :: forall (shape :: [DS Nat]) (channels :: Nat) (depth :: [;1m[35m*[0m[0m) a
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/Core/Types/Mat.hs:365:43: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-63394\GHC-63394]8;;\] [[;1m[35m-Wx-partial[0m[0m[;1m][0m[0m[;1m
In the use of âheadâ
(imported from Prelude, but defined in GHC.Internal.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."[0m[0m
[;1m[34m |[0m[0m
[;1m[34m365 |[0m[0m MatInfo !shape _ !channels = matInfo ([;1m[35mhead[0m[0m mats)
[;1m[34m |[0m[0m[;1m[35m ^^^^[0m[0m
[50 of 77] Compiling OpenCV.ImgCodecs ( src/OpenCV/ImgCodecs.hs, dist/build/OpenCV/ImgCodecs.o, dist/build/OpenCV/ImgCodecs.dyn_o )
[51 of 77] Compiling OpenCV.HighGui ( dist/build/OpenCV/HighGui.hs, dist/build/OpenCV/HighGui.o, dist/build/OpenCV/HighGui.dyn_o )
[;1msrc/OpenCV/HighGui.hsc:62:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m62 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[52 of 77] Compiling OpenCV.Core.Types ( src/OpenCV/Core/Types.hs, dist/build/OpenCV/Core/Types.o, dist/build/OpenCV/Core/Types.dyn_o )
[53 of 77] Compiling OpenCV.Internal.Core.Types.Mat.HMat ( src/OpenCV/Internal/Core/Types/Mat/HMat.hs, dist/build/OpenCV/Internal/Core/Types/Mat/HMat.o, dist/build/OpenCV/Internal/Core/Types/Mat/HMat.dyn_o )
[54 of 77] Compiling OpenCV.Core.Types.Mat.HMat ( src/OpenCV/Core/Types/Mat/HMat.hs, dist/build/OpenCV/Core/Types/Mat/HMat.o, dist/build/OpenCV/Core/Types/Mat/HMat.dyn_o )
[55 of 77] Compiling OpenCV.JSON ( src/OpenCV/JSON.hs, dist/build/OpenCV/JSON.o, dist/build/OpenCV/JSON.dyn_o )
[;1msrc/OpenCV/JSON.hs:13:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m13 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[56 of 77] Compiling OpenCV.ImgProc.Types ( src/OpenCV/ImgProc/Types.hs, dist/build/OpenCV/ImgProc/Types.o, dist/build/OpenCV/ImgProc/Types.dyn_o )
[57 of 77] Compiling OpenCV.Internal.ImgProc.Types ( dist/build/OpenCV/Internal/ImgProc/Types.hs, dist/build/OpenCV/Internal/ImgProc/Types.o, dist/build/OpenCV/Internal/ImgProc/Types.dyn_o )
[58 of 77] Compiling OpenCV.ImgProc.StructuralAnalysis ( dist/build/OpenCV/ImgProc/StructuralAnalysis.hs, dist/build/OpenCV/ImgProc/StructuralAnalysis.o, dist/build/OpenCV/ImgProc/StructuralAnalysis.dyn_o )
[59 of 77] Compiling OpenCV.ImgProc.ObjectDetection ( dist/build/OpenCV/ImgProc/ObjectDetection.hs, dist/build/OpenCV/ImgProc/ObjectDetection.o, dist/build/OpenCV/ImgProc/ObjectDetection.dyn_o )
[60 of 77] Compiling OpenCV.ImgProc.MotionAnalysis ( src/OpenCV/ImgProc/MotionAnalysis.hs, dist/build/OpenCV/ImgProc/MotionAnalysis.o, dist/build/OpenCV/ImgProc/MotionAnalysis.dyn_o )
[61 of 77] Compiling OpenCV.ImgProc.MiscImgTransform ( src/OpenCV/ImgProc/MiscImgTransform.hs, dist/build/OpenCV/ImgProc/MiscImgTransform.o, dist/build/OpenCV/ImgProc/MiscImgTransform.dyn_o )
[;1msrc/OpenCV/ImgProc/MiscImgTransform.hs:159:39: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m159 |[0m[0m (srcDepth :: DS [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[;1msrc/OpenCV/ImgProc/MiscImgTransform.hs:160:39: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-39567\GHC-39567]8;;\] [[;1m[35m-Wstar-is-type[0m[0m[;1m][0m[0m[;1m
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.[0m[0m
[;1m[34m |[0m[0m
[;1m[34m160 |[0m[0m (dstDepth :: DS [;1m[35m*[0m[0m)
[;1m[34m |[0m[0m[;1m[35m ^[0m[0m
[62 of 77] Compiling OpenCV.ImgProc.ImgFiltering ( dist/build/OpenCV/ImgProc/ImgFiltering.hs, dist/build/OpenCV/ImgProc/ImgFiltering.o, dist/build/OpenCV/ImgProc/ImgFiltering.dyn_o )
[63 of 77] Compiling OpenCV.ImgProc.GeometricImgTransform ( dist/build/OpenCV/ImgProc/GeometricImgTransform.hs, dist/build/OpenCV/ImgProc/GeometricImgTransform.o, dist/build/OpenCV/ImgProc/GeometricImgTransform.dyn_o )
[64 of 77] Compiling OpenCV.ImgProc.FeatureDetection ( src/OpenCV/ImgProc/FeatureDetection.hs, dist/build/OpenCV/ImgProc/FeatureDetection.o, dist/build/OpenCV/ImgProc/FeatureDetection.dyn_o )
[;1msrc/OpenCV/ImgProc/FeatureDetection.hs:48:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Foldableâ is redundant
except perhaps to import instances from âData.Foldableâ
To import instances alone, use: import Data.Foldable()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m48 |[0m[0m [;1m[35mimport "base" Data.Foldable ( Foldable )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/ImgProc/FeatureDetection.hs:49:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Traversableâ is redundant
except perhaps to import instances from âData.Traversableâ
To import instances alone, use: import Data.Traversable()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m49 |[0m[0m [;1m[35mimport "base" Data.Traversable ( Traversable )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[65 of 77] Compiling OpenCV.ImgProc.Drawing ( dist/build/OpenCV/ImgProc/Drawing.hs, dist/build/OpenCV/ImgProc/Drawing.o, dist/build/OpenCV/ImgProc/Drawing.dyn_o )
[66 of 77] Compiling OpenCV.ImgProc.ColorMaps ( dist/build/OpenCV/ImgProc/ColorMaps.hs, dist/build/OpenCV/ImgProc/ColorMaps.o, dist/build/OpenCV/ImgProc/ColorMaps.dyn_o )
[67 of 77] Compiling OpenCV.ImgProc.CascadeClassifier ( src/OpenCV/ImgProc/CascadeClassifier.hs, dist/build/OpenCV/ImgProc/CascadeClassifier.o, dist/build/OpenCV/ImgProc/CascadeClassifier.dyn_o )
[68 of 77] Compiling OpenCV.Features2d ( src/OpenCV/Features2d.hs, dist/build/OpenCV/Features2d.o, dist/build/OpenCV/Features2d.dyn_o )
[;1msrc/OpenCV/Features2d.hs:43:1: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-66111\GHC-66111]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âData.Monoidâ is redundant
except perhaps to import instances from âData.Monoidâ
To import instances alone, use: import Data.Monoid()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m43 |[0m[0m [;1m[35mimport "base" Data.Monoid ( (<>) )[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[;1msrc/OpenCV/Features2d.hs:66:78: [;1m[35mwarning[0m[0m[;1m: []8;;https://errors.haskell.org/messages/GHC-38856\GHC-38856]8;;\] [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of âScalarâ
from module âOpenCV.Internal.Core.Typesâ is redundant[0m[0m
[;1m[34m |[0m[0m
[;1m[34m66 |[0m[0m import "this" OpenCV.Internal.Core.Types ( withArrayPtr, unsafeWithArrayPtr, [;1m[35mScalar[0m[0m )
[;1m[34m |[0m[0m[;1m[35m ^^^^^^[0m[0m
src/OpenCV/Features2d.hs: In function âPtr_ORB* inline_c_OpenCV_Features2d_0(int32_t, float, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t)â:
[;1msrc/OpenCV/Features2d.hs:203:11: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
error: invalid conversion from âint32_tâ {aka âintâ} to âcv::ORB::ScoreTypeâ [-fpermissive]
203 | , $(int32_t c'scoreType)
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| int32_t {aka int}[0m[0m
[;1m[34m |[0m[0m
[;1m[34m203 |[0m[0m , [;1m[31m$[0m[0m(int32_t c'scoreType)
[;1m[34m |[0m[0m[;1m[31m ^[0m[0m
[;1mIn file included from /build/ghc1024_0/ghc_1174.cpp:4:0: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m [0m[0m
[;1m/nix/store/6sj47ns136fr0lfd8d4cdfra0acmxvdx-opencv-4.9.0/include/opencv4/opencv2/features2d.hpp:461:55: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
note: initializing argument 7 of âstatic cv::Ptr<cv::ORB> cv::ORB::create(int, float, int, int, int, int, ScoreType, int, int)â
461 | int firstLevel=0, int WTA_K=2, ORB::ScoreType scoreType=ORB::HARRIS_SCORE, int patchSize=31, int fastThreshold=20);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~[0m[0m
[;1m[34m |[0m[0m
[;1m[34m461 |[0m[0m int firstLevel=0, int WTA_K=2, ORB::ScoreType [;1m[31ms[0m[0mcoreType=ORB::HARRIS_SCORE, int patchSize=31, int fastThreshold=20);
[;1m[34m |[0m[0m[;1m[31m ^[0m[0m
[;1m<no location info>: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
`c++' failed in phase `C++ Compiler'. (Exit code: 1)[0m[0m
[69 of 77] Compiling OpenCV.Calib3d ( src/OpenCV/Calib3d.hs, dist/build/OpenCV/Calib3d.o, dist/build/OpenCV/Calib3d.dyn_o )
[70 of 77] Compiling OpenCV.Core.ArrayOps ( src/OpenCV/Core/ArrayOps.hs, dist/build/OpenCV/Core/ArrayOps.o, dist/build/OpenCV/Core/ArrayOps.dyn_o )
[71 of 77] Compiling OpenCV.Video ( dist/build/OpenCV/Video.hs, dist/build/OpenCV/Video.o, dist/build/OpenCV/Video.dyn_o )
src/OpenCV/Video.hsc: In function âcv::Exception* inline_c_OpenCV_Video_0(cv::Mat*, cv::Point2i*, int32_t, cv::Point2i*, int32_t, bool)â:
[;1msrc/OpenCV/Video.hsc:79:16: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
warning: âcv::Mat cv::estimateRigidTransform(InputArray, InputArray, bool)â is deprecated [-Wdeprecated-declarations]
78 | , cv::_InputArray($(Point2i * dstPtr), $(int32_t c'dstLen))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79 | , $(bool c'fullAffine)
| ^~~~~~~~~~~~~~~~~~~~~~
80 | );
| ~~
81 | |]
| ~~
82 |
| [0m[0m
[;1m[34m |[0m[0m
[;1m[34m79 |[0m[0m [;1m[31m,[0m[0m $(bool c'fullAffine)
[;1m[34m |[0m[0m[;1m[31m ^[0m[0m
In file included from /nix/store/6sj47ns136fr0lfd8d4cdfra0acmxvdx-opencv-4.9.0/include/opencv4/opencv2/video.hpp:56,
[;1m from /build/ghc1024_0/ghc_1013.cpp:4:0: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m [0m[0m
[;1m/nix/store/6sj47ns136fr0lfd8d4cdfra0acmxvdx-opencv-4.9.0/include/opencv4/opencv2/video/tracking.hpp:258:30: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
note: declared here
258 | CV_DEPRECATED CV_EXPORTS Mat estimateRigidTransform( InputArray src, InputArray dst, bool fullAffine );
| ^~~~~~~~~~~~~~~~~~~~~~[0m[0m
[;1m[34m |[0m[0m
[;1m[34m258 |[0m[0m CV_DEPRECATED CV_EXPORTS Mat [;1m[31me[0m[0mstimateRigidTransform( InputArray src, InputArray dst, bool fullAffine );
[;1m[34m |[0m[0m[;1m[31m ^[0m[0m
src/OpenCV/Video.hsc: In function âcv::Exception* inline_c_OpenCV_Video_0(cv::Mat*, cv::Point2i*, int32_t, cv::Point2i*, int32_t, bool)â:
[;1msrc/OpenCV/Video.hsc:79:16: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
warning: âcv::Mat cv::estimateRigidTransform(InputArray, InputArray, bool)â is deprecated [-Wdeprecated-declarations]
78 | , cv::_InputArray($(Point2i * dstPtr), $(int32_t c'dstLen))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79 | , $(bool c'fullAffine)
| ^~~~~~~~~~~~~~~~~~~~~~
80 | );
| ~~
81 | |]
| ~~
82 |
| [0m[0m
[;1m[34m |[0m[0m
[;1m[34m79 |[0m[0m [;1m[31m,[0m[0m $(bool c'fullAffine)
[;1m[34m |[0m[0m[;1m[31m ^[0m[0m
In file included from /nix/store/6sj47ns136fr0lfd8d4cdfra0acmxvdx-opencv-4.9.0/include/opencv4/opencv2/video.hpp:56,
[;1m from /build/ghc1024_0/ghc_1013.cpp:4:0: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m [0m[0m
[;1m/nix/store/6sj47ns136fr0lfd8d4cdfra0acmxvdx-opencv-4.9.0/include/opencv4/opencv2/video/tracking.hpp:258:30: [;1m[31merror[0m[0m[;1m:[0m[0m[;1m
note: declared here
258 | CV_DEPRECATED CV_EXPORTS Mat estimateRigidTransform( InputArray src, InputArray dst, bool fullAffine );
| ^~~~~~~~~~~~~~~~~~~~~~[0m[0m
[;1m[34m |[0m[0m
[;1m[34m258 |[0m[0m CV_DEPRECATED CV_EXPORTS Mat [;1m[31me[0m[0mstimateRigidTransform( InputArray src, InputArray dst, bool fullAffine );
[;1m[34m |[0m[0m[;1m[31m ^[0m[0m
[72 of 77] Compiling OpenCV.Video.MotionAnalysis ( src/OpenCV/Video/MotionAnalysis.hs, dist/build/OpenCV/Video/MotionAnalysis.o, dist/build/OpenCV/Video/MotionAnalysis.dyn_o )
[73 of 77] Compiling OpenCV.VideoIO.Types ( src/OpenCV/VideoIO/Types.hs, dist/build/OpenCV/VideoIO/Types.o, dist/build/OpenCV/VideoIO/Types.dyn_o )
[74 of 77] Compiling OpenCV.VideoIO.VideoCapture ( src/OpenCV/VideoIO/VideoCapture.hs, dist/build/OpenCV/VideoIO/VideoCapture.o, dist/build/OpenCV/VideoIO/VideoCapture.dyn_o )
[77 of 77] Compiling OpenCV.VideoIO.VideoWriter ( src/OpenCV/VideoIO/VideoWriter.hs, dist/build/OpenCV/VideoIO/VideoWriter.o, dist/build/OpenCV/VideoIO/VideoWriter.dyn_o )