Open locallycompact opened 4 hours ago
Trying to build streamly against the 9.12 pre-release here:
https://gitlab.horizon-haskell.net/package-sets/horizon-platform/-/jobs/1466085
Fails with:
streamly-core> • No instance for ‘Enum IoSubSystem’ arising from a use of ‘toEnum’ streamly-core> • In the first argument of ‘(<$>)’, namely ‘toEnum’ streamly-core> In the second argument of ‘(>>)’, namely ‘toEnum <$> peekAt i arr’ streamly-core> In the expression: streamly-core> checkBounds streamly-core> "peek IoSubSystem" (i + sizeOf (Proxy :: Proxy IoSubSystem)) arr streamly-core> >> toEnum <$> peekAt i arr streamly-core> | streamly-core> 466 | >> toEnum <$> peekAt i arr streamly-core> | ^^^^^^ streamly-core> src/Streamly/Internal/Data/Unbox.hs:472:26: error: [8;;https://errors.haskell.org/messages/GHC-39999GHC-399998;;] streamly-core> • No instance for ‘Enum IoSubSystem’ streamly-core> arising from a use of ‘fromEnum’ streamly-core> • In the third argument of ‘pokeAt’, namely ‘(fromEnum a)’ streamly-core> In the second argument of ‘(>>)’, namely streamly-core> ‘pokeAt i arr (fromEnum a)’ streamly-core> In the expression: streamly-core> checkBounds streamly-core> "poke IoSubSystem" (i + sizeOf (Proxy :: Proxy IoSubSystem)) arr streamly-core> >> pokeAt i arr (fromEnum a) streamly-core> | streamly-core> 472 | >> pokeAt i arr (fromEnum a) streamly-core> | ^^^^^^^^ streamly-core> [ 30 of 103] Compiling Streamly.Internal.Data.Unfold.Type ( src/Streamly/Internal/Data/Unfold/Type.hs, dist/build/Streamly/Internal/Data/Unfold/Type.o, dist/build/Streamly/Internal/Data/Unfold/Type.dyn_o ) streamly-core> [ 31 of 103] Compiling Streamly.Internal.Data.Unfold.Enumeration ( src/Streamly/Internal/Data/Unfold/Enumeration.hs, dist/build/Streamly/Internal/Data/Unfold/Enumeration.o, dist/build/Streamly/Internal/Data/Unfold/Enumeration.dyn_o ) streamly-core> [ 40 of 103] Compiling Streamly.Internal.System.IO ( src/Streamly/Internal/System/IO.hs, dist/build/Streamly/Internal/System/IO.o, dist/build/Streamly/Internal/System/IO.dyn_o ) streamly-core> <<ghc: 10084587640 bytes, 23 GCs, 20829616/58044144 avg/max bytes residency (4 samples), 1218M in use, 0.001 INIT (0.001 elapsed), 6.001 MUT (4.377 elapsed), 1.165 GC (0.165 elapsed) :ghc>> error: build of '/nix/store/l0rx5s2vnapz8kb5zfbzixbyzidd4p81-streamly-core-0.2.2.drv' on 'ssh://lc@192.168.1.230' failed: builder for '/nix/store/l0rx5s2vnapz8kb5zfbzixbyzidd4p81-streamly-core-0.2.2.drv' failed with exit code 1; last 10 log lines: > "poke IoSubSystem" (i + sizeOf (Proxy :: Proxy IoSubSystem)) arr > >> pokeAt i arr (fromEnum a) > | > 472 | >> pokeAt i arr (fromEnum a) > | ^^^^^^^^ > > [ 30 of 103] Compiling Streamly.Internal.Data.Unfold.Type ( src/Streamly/Internal/Data/Unfold/Type.hs, dist/build/Streamly/Internal/Data/Unfold/Type.o, dist/build/Streamly/Internal/Data/Unfold/Type.dyn_o ) > [ 31 of 103] Compiling Streamly.Internal.Data.Unfold.Enumeration ( src/Streamly/Internal/Data/Unfold/Enumeration.hs, dist/build/Streamly/Internal/Data/Unfold/Enumeration.o, dist/build/Streamly/Internal/Data/Unfold/Enumeration.dyn_o ) > [ 40 of 103] Compiling Streamly.Internal.System.IO ( src/Streamly/Internal/System/IO.hs, dist/build/Streamly/Internal/System/IO.o, dist/build/Streamly/Internal/System/IO.dyn_o ) > <<ghc: 10084587640 bytes, 23 GCs, 20829616/58044144 avg/max bytes residency (4 samples), 1218M in use, 0.001 INIT (0.001 elapsed), 6.001 MUT (4.377 elapsed), 1.165 GC (0.165 elapsed) :ghc>> For full logs, run 'nix log /nix/store/l0rx5s2vnapz8kb5zfbzixbyzidd4p81-streamly-core-0.2.2.drv'. error: builder for '/nix/store/l0rx5s2vnapz8kb5zfbzixbyzidd4p81-streamly-core-0.2.2.drv' failed with exit code 1; last 25 log lines: > checkBounds > "peek IoSubSystem" (i + sizeOf (Proxy :: Proxy IoSubSystem)) arr > >> toEnum <$> peekAt i arr > | > 466 | >> toEnum <$> peekAt i arr > | ^^^^^^ > > src/Streamly/Internal/Data/Unbox.hs:472:26: error: [8;;https://errors.haskell.org/messages/GHC-39999GHC-399998;;] > • No instance for ‘Enum IoSubSystem’ > arising from a use of ‘fromEnum’ > • In the third argument of ‘pokeAt’, namely ‘(fromEnum a)’ > In the second argument of ‘(>>)’, namely > ‘pokeAt i arr (fromEnum a)’ > In the expression: > checkBounds > "poke IoSubSystem" (i + sizeOf (Proxy :: Proxy IoSubSystem)) arr > >> pokeAt i arr (fromEnum a) > | > 472 | >> pokeAt i arr (fromEnum a) > | ^^^^^^^^ > > [ 30 of 103] Compiling Streamly.Internal.Data.Unfold.Type ( src/Streamly/Internal/Data/Unfold/Type.hs, dist/build/Streamly/Internal/Data/Unfold/Type.o, dist/build/Streamly/Internal/Data/Unfold/Type.dyn_o ) > [ 31 of 103] Compiling Streamly.Internal.Data.Unfold.Enumeration ( src/Streamly/Internal/Data/Unfold/Enumeration.hs, dist/build/Streamly/Internal/Data/Unfold/Enumeration.o, dist/build/Streamly/Internal/Data/Unfold/Enumeration.dyn_o ) > [ 40 of 103] Compiling Streamly.Internal.System.IO ( src/Streamly/Internal/System/IO.hs, dist/build/Streamly/Internal/System/IO.o, dist/build/Streamly/Internal/System/IO.dyn_o ) > <<ghc: 10084587640 bytes, 23 GCs, 20829616/58044144 avg/max bytes residency (4 samples), 1218M in use, 0.001 INIT (0.001 elapsed), 6.001 MUT (4.377 elapsed), 1.165 GC (0.165 elapsed) :ghc>> For full logs, run 'nix log /nix/store/l0rx5s2vnapz8kb5zfbzixbyzidd4p81-streamly-core-0.2.2.drv'. error: 1 dependencies of derivation '/nix/store/jkjk9nlimqfj9p2zgyv58bwanqqajfvd-streamly-0.10.1.drv' failed to build
Trying to build streamly against the 9.12 pre-release here:
https://gitlab.horizon-haskell.net/package-sets/horizon-platform/-/jobs/1466085
Fails with: