[nix-shell:~/Source/github.com/owickstrom/gi-gtk-declarative]$ stack build --resolver nightly-2018-11-13
gi-gtk-declarative-app-simple-0.2.0: unregistering (local file changes: src/GI/Gtk/Declarative/App/Simple.hs)
gi-gtk-declarative-app-simple-0.2.0: configure (lib)
gi-gtk-declarative-app-simple-0.2.0: build (lib)
gi-gtk-declarative-app-simple-0.2.0: copy/register
examples-0.2.0: configure (exe)
examples-0.2.0: build (exe)
Completed 2 action(s).
Log files have been written to: /home/lc/Source/github.com/owickstrom/gi-gtk-declarative/.stack-work/logs/
-- While building package examples-0.2.0 using:
/home/lc/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 build exe:example --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/lc/Source/github.com/owickstrom/gi-gtk-declarative/.stack-work/logs/examples-0.2.0.log
Configuring examples-0.2.0...
Warning:
This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.
package typed-process (typed-process-0.2.3.0-DB3YotUmiF53GO4zJHIe3a) requires async-2.2.1-4fWSSJ8SFccIxQJVItkRnX
package streaming-commons (streaming-commons-0.2.1.0-Gjsp3ARrjdWm3PJDtVFaz) requires async-2.2.1-4fWSSJ8SFccIxQJVItkRnX
package conduit-extra (conduit-extra-1.3.0-GscXuLj0LnaAQPH0wUQEXK) requires async-2.2.1-4fWSSJ8SFccIxQJVItkRnX
package pipes-concurrency (pipes-concurrency-2.0.12-a2yO6AToml9LT0f6bCvWO) requires async-2.2.1-CWXVJHwJMKSI5YTkcbFhmH
package gi-gtk-declarative-app-simple (gi-gtk-declarative-app-simple-0.2.0-LieK8RsLL2l5E3gFPq37Ze) requires async-2.2.1-CWXVJHwJMKSI5YTkcbFhmH
package examples (examples-0.2.0) requires async-2.2.1-CWXVJHwJMKSI5YTkcbFhmH
package resourcet (resourcet-1.2.2-F7rwLP4LeKZDWC147Y2OKD) requires exceptions-0.10.0-7rupAzx2MQN9ks4RM1dl12
package pipes (pipes-4.3.9-8wacBWbqZInCiGw6SkJvVi) requires exceptions-0.10.0-7rupAzx2MQN9ks4RM1dl12
package lens (lens-4.17-8fLX0VNMMHc1mA5LfhbHd8) requires exceptions-0.10.0-7rupAzx2MQN9ks4RM1dl12
package free (free-5.1-6ep10VQBTbdEK8XZsGqaIw) requires exceptions-0.10.0-7rupAzx2MQN9ks4RM1dl12
package conduit (conduit-1.3.1-8C5VGtcqiJC7UDbOgUmLWv) requires exceptions-0.10.0-7rupAzx2MQN9ks4RM1dl12
package pipes (pipes-4.3.9-JpGgE9DNmLLHzn972uONS9) requires exceptions-0.10.0-DHZ8jRIWmju3Tn1kS7T9Xv
package unordered-containers (unordered-containers-0.2.9.0-L4dSDXPacp4A6ajMikU5GH) requires hashable-1.2.7.0-6U3VnAjAfQC5KkN2X3oAD1
package async (async-2.2.1-CWXVJHwJMKSI5YTkcbFhmH) requires hashable-1.2.7.0-6U3VnAjAfQC5KkN2X3oAD1
package unordered-containers (unordered-containers-0.2.9.0-BRWkoSTuML1cQdpep6Oin) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package semigroupoids (semigroupoids-5.3.1-ITLTc9xnUUXHEMO4GDBuYe) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package scientific (scientific-0.3.6.2-KIIlODNgUeO9twnHef2PBn) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package mono-traversable (mono-traversable-1.0.9.0-4dGBHfsSsSt9xrsSxPseyC) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package lens (lens-4.17-8fLX0VNMMHc1mA5LfhbHd8) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package foldl (foldl-1.4.5-7pM1wM7mDurBNwWpbR19dK) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package async (async-2.2.1-4fWSSJ8SFccIxQJVItkRnX) requires hashable-1.2.7.0-CWI8VZuQTAYWIQTQQtqCV
package pipes (pipes-4.3.9-JpGgE9DNmLLHzn972uONS9) requires mmorph-1.1.2-1XKbJejgVfn63jvndItiSw
package pipes (pipes-4.3.9-8wacBWbqZInCiGw6SkJvVi) requires mmorph-1.1.2-2SXg3Mu2jQSB4W1Qkd7vm4
package pipes-extras (pipes-extras-1.0.15-7jraOcnyJBsGNHTnL4gCli) requires pipes-4.3.9-8wacBWbqZInCiGw6SkJvVi
package pipes-concurrency (pipes-concurrency-2.0.12-a2yO6AToml9LT0f6bCvWO) requires pipes-4.3.9-JpGgE9DNmLLHzn972uONS9
package gi-gtk-declarative-app-simple (gi-gtk-declarative-app-simple-0.2.0-LieK8RsLL2l5E3gFPq37Ze) requires pipes-4.3.9-JpGgE9DNmLLHzn972uONS9
package examples (examples-0.2.0) requires pipes-4.3.9-JpGgE9DNmLLHzn972uONS9
package transformers-base (transformers-base-0.4.5.2-JUlqsL73OImGGUE2DcC4Q8) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package semigroupoids (semigroupoids-5.3.1-ITLTc9xnUUXHEMO4GDBuYe) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package mmorph (mmorph-1.1.2-2SXg3Mu2jQSB4W1Qkd7vm4) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package lens (lens-4.17-8fLX0VNMMHc1mA5LfhbHd8) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package kan-extensions (kan-extensions-5.2-EggfbLk6czXLSibVJH3Wi8) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package invariant (invariant-0.5.1-KU4SlDml78tLhJycFuXNW0) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package exceptions (exceptions-0.10.0-7rupAzx2MQN9ks4RM1dl12) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package comonad (comonad-5.0.4-LgAoXN8uHo4Lw150anSHrf) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package adjunctions (adjunctions-4.4-BGM5FUQxBSYDQps3g4IHiP) requires transformers-compat-0.6.2-2aGr2H01tr03oYIwD5LYXX
package mmorph (mmorph-1.1.2-1XKbJejgVfn63jvndItiSw) requires transformers-compat-0.6.2-JV1ddSnlm3mL2xw4J4K8Kw
package exceptions (exceptions-0.10.0-DHZ8jRIWmju3Tn1kS7T9Xv) requires transformers-compat-0.6.2-JV1ddSnlm3mL2xw4J4K8Kw
package semigroupoids (semigroupoids-5.3.1-ITLTc9xnUUXHEMO4GDBuYe) requires unordered-containers-0.2.9.0-BRWkoSTuML1cQdpep6Oin
package mono-traversable (mono-traversable-1.0.9.0-4dGBHfsSsSt9xrsSxPseyC) requires unordered-containers-0.2.9.0-BRWkoSTuML1cQdpep6Oin
package lens (lens-4.17-8fLX0VNMMHc1mA5LfhbHd8) requires unordered-containers-0.2.9.0-BRWkoSTuML1cQdpep6Oin
package invariant (invariant-0.5.1-KU4SlDml78tLhJycFuXNW0) requires unordered-containers-0.2.9.0-BRWkoSTuML1cQdpep6Oin
package foldl (foldl-1.4.5-7pM1wM7mDurBNwWpbR19dK) requires unordered-containers-0.2.9.0-BRWkoSTuML1cQdpep6Oin
package gi-gtk-declarative (gi-gtk-declarative-0.2.0-IelyUDt11dT5QHNzlfslpR) requires unordered-containers-0.2.9.0-L4dSDXPacp4A6ajMikU5GH
Preprocessing executable 'example' for examples-0.2.0..
Building executable 'example' for examples-0.2.0..
[ 1 of 10] Compiling AddBoxes ( AddBoxes.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/example/example-tmp/AddBoxes.o ) [GI.Gtk.Declarative.App.Simple changed]
[ 2 of 10] Compiling CSS ( CSS.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/example/example-tmp/CSS.o ) [GI.Gtk.Declarative.App.Simple changed]
[ 3 of 10] Compiling Exit ( Exit.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/example/example-tmp/Exit.o ) [GI.Gtk.Declarative.App.Simple changed]
[ 4 of 10] Compiling FileChooserButton ( FileChooserButton.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/example/example-tmp/FileChooserButton.o ) [GI.Gtk.Declarative.App.Simple changed]
[ 5 of 10] Compiling Functor ( Functor.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/example/example-tmp/Functor.o ) [GI.Gtk.Declarative.App.Simple changed]
[ 6 of 10] Compiling Hello ( Hello.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/example/example-tmp/Hello.o ) [flags changed]
/home/lc/Source/github.com/owickstrom/gi-gtk-declarative/examples/Hello.hs:45:14: error:
• Couldn't match type ‘pipes-4.3.9:Pipes.Internal.Proxy
() a0 () a0 IO r0’
with ‘Proxy () Event c' c m ()’
NB: ‘Proxy’ is defined in ‘Pipes.Internal’ in package ‘pipes-4.3.9’
‘pipes-4.3.9:Pipes.Internal.Proxy’
" ============================================================================
is defined in ‘Pipes.Internal’ in package ‘pipes-4.3.9’
Expected type: Proxy () Event c' c m ()
Actual type: pipes-4.3.9:Pipes.Core.Pipe a0 a0 IO r0
• In the second argument of ‘(>->)’, namely ‘Pipes.delay 1.0’
In the second argument of ‘(&)’, namely ‘(>-> Pipes.delay 1.0)’
In the expression:
cycle ["Joe", "Mike"] & map (\ n -> (Greet ("Hello, " <> n)))
& each
& (>-> Pipes.delay 1.0)
• Relevant bindings include
greetings :: Proxy a' a c' c m () (bound at Hello.hs:41:3)
|
45 | & (>-> Pipes.delay 1.0)
| ^^^^^^^^^^^^^^^