{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/primitive/issues/71","repository_url":"https://api.github.com/repos/haskell/primitive","labels_url":"https://api.github.com/repos/haskell/primitive/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/haskell/primitive/issues/71/comments","events_url":"https://api.github.com/repos/haskell/primitive/issues/71/events","html_url":"https://github.com/haskell/primitive/issues/71","id":283993879,"number":71,"title":" primitive-0.6.2.0 doesn't compile with ghc 8.4.1 alpha","user":{"login":"GeorgeCo","id":6325499,"avatar_url":"https://avatars3.githubusercontent.com/u/6325499?v=4","gravatar_id":"","url":"https://api.github.com/users/GeorgeCo","html_url":"https://github.com/GeorgeCo","followers_url":"https://api.github.com/users/GeorgeCo/followers","following_url":"https://api.github.com/users/GeorgeCo/following{/other_user}","gists_url":"https://api.github.com/users/GeorgeCo/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgeCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgeCo/subscriptions","organizations_url":"https://api.github.com/users/GeorgeCo/orgs","repos_url":"https://api.github.com/users/GeorgeCo/repos","events_url":"https://api.github.com/users/GeorgeCo/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgeCo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-12-21T20:22:14Z","updated_at":"2017-12-27T09:22:54Z","closed_at":null,"author_association":"NONE","body":"In case anybody wants to get started with this\r\n primitive-0.6.2.0 doesn't compile with ghc 8.4.1 alpha\r\n\r\n```\r\n cabal install -j5 primitive --allow-newer\r\nResolving dependencies...\r\nConfiguring primitive-0.6.2.0...\r\nBuilding primitive-0.6.2.0...\r\nFailed to install primitive-0.6.2.0\r\nBuild log ( /Users/gcolpitts/.cabal/logs/ghc-8.4.0.20171214/primitive-0.6.2.0-GyZXr8FnXgfJdktXPA3hr1.log ):\r\ncabal: Entering directory '/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/cabal-tmp-36646/primitive-0.6.2.0'\r\nConfiguring primitive-0.6.2.0...\r\nPreprocessing library for primitive-0.6.2.0..\r\nBuilding library for primitive-0.6.2.0..\r\n[ 1 of 12] Compiling Control.Monad.Primitive ( Control/Monad/Primitive.hs, dist/build/Control/Monad/Primitive.o )\r\n\r\nControl/Monad/Primitive.hs:45:1: warning: [-Wdeprecations]\r\n    Module ‘Control.Monad.Trans.List’ is deprecated:\r\n      This transformer is invalid on most monads\r\n   |\r\n45 | import Control.Monad.Trans.List     ( ListT    )\r\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\nControl/Monad/Primitive.hs:47:1: warning: [-Wdeprecations]\r\n    Module ‘Control.Monad.Trans.Error’ is deprecated:\r\n      Use Control.Monad.Trans.Except instead\r\n   |\r\n47 | import Control.Monad.Trans.Error    ( ErrorT, Error)\r\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\nControl/Monad/Primitive.hs:101:36: warning: [-Wdeprecations]\r\n    In the use of type constructor or class ‘ListT’\r\n    (imported from Control.Monad.Trans.List):\r\n    Deprecated: \"This transformer is invalid on most monads\"\r\n    |\r\n101 | instance PrimMonad m => PrimMonad (ListT m) where\r\n    |                                    ^^^^^\r\n\r\nControl/Monad/Primitive.hs:102:19: warning: [-Wdeprecations]\r\n    In the use of type constructor or class ‘ListT’\r\n    (imported from Control.Monad.Trans.List):\r\n    Deprecated: \"This transformer is invalid on most monads\"\r\n    |\r\n102 |   type PrimState (ListT m) = PrimState m\r\n    |                   ^^^^^\r\n\r\nControl/Monad/Primitive.hs:109:11: warning: [-Wdeprecations]\r\n    In the use of type constructor or class ‘Error’\r\n    (imported from Control.Monad.Trans.Error):\r\n    Deprecated: \"Use Control.Monad.Trans.Except instead\"\r\n    |\r\n109 | instance (Error e, PrimMonad m) => PrimMonad (ErrorT e m) where\r\n    |           ^^^^^\r\n\r\nControl/Monad/Primitive.hs:109:47: warning: [-Wdeprecations]\r\n    In the use of type constructor or class ‘ErrorT’\r\n    (imported from Control.Monad.Trans.Error):\r\n    Deprecated: \"Use Control.Monad.Trans.Except instead\"\r\n    |\r\n109 | instance (Error e, PrimMonad m) => PrimMonad (ErrorT e m) where\r\n    |                                               ^^^^^^\r\n\r\nControl/Monad/Primitive.hs:110:19: warning: [-Wdeprecations]\r\n    In the use of type constructor or class ‘ErrorT’\r\n    (imported from Control.Monad.Trans.Error):\r\n    Deprecated: \"Use Control.Monad.Trans.Except instead\"\r\n    |\r\n110 |   type PrimState (ErrorT e m) = PrimState m\r\n    |                   ^^^^^^\r\n[ 2 of 12] Compiling Data.Primitive.Internal.Compat ( Data/Primitive/Internal/Compat.hs, dist/build/Data/Primitive/Internal/Compat.o )\r\n[ 3 of 12] Compiling Data.Primitive.Array ( Data/Primitive/Array.hs, dist/build/Data/Primitive/Array.o )\r\n\r\nData/Primitive/Array.hs:531:10: error:\r\n    • No instance for (Semigroup (Array a))\r\n        arising from the superclasses of an instance declaration\r\n    • In the instance declaration for ‘Monoid (Array a)’\r\n    |\r\n531 | instance Monoid (Array a) where\r\n    |          ^^^^^^^^^^^^^^^^\r\ncabal: Leaving directory '/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/cabal-tmp-36646/primitive-0.6.2.0'\r\ncabal: Error: some packages failed to install:\r\nprimitive-0.6.2.0-GyZXr8FnXgfJdktXPA3hr1 failed during the building phase. The\r\nexception was:\r\nExitFailure 1\r\n```"},"comment":{"url":"https://api.github.com/repos/haskell/primitive/issues/comments/354082694","html_url":"https://github.com/haskell/primitive/issues/71#issuecomment-354082694","issue_url":"https://api.github.com/repos/haskell/primitive/issues/71","id":354082694,"user":{"login":"vincenthz","id":174631,"avatar_url":"https://avatars2.githubusercontent.com/u/174631?v=4","gravatar_id":"","url":"https://api.github.com/users/vincenthz","html_url":"https://github.com/vincenthz","followers_url":"https://api.github.com/users/vincenthz/followers","following_url":"https://api.github.com/users/vincenthz/following{/other_user}","gists_url":"https://api.github.com/users/vincenthz/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthz/subscriptions","organizations_url":"https://api.github.com/users/vincenthz/orgs","repos_url":"https://api.github.com/users/vincenthz/repos","events_url":"https://api.github.com/users/vincenthz/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthz/received_events","type":"User","site_admin":false},"created_at":"2017-12-27T09:22:54Z","updated_at":"2017-12-27T09:22:54Z","author_association":"MEMBER","body":"@phadej not that the issue has anything to do with stack but ... considering the amount of work for creating and maintaining (tracking all git repo update) a stack snapshot for something that is ephemeral, I think the likely outcome is that it won't happen, lowering the amount of testing GHC alpha gets and the feedback GHC Devs gets back. Even if that stack snapshot happens, who will sweat to add this to their travis which will have to be undone once 8.4 is released ? I think if you don't use the same mechanism of delivery for everything then you're making the testing bar way too high already.\r\n\r\nClearly if there's no release of `primitive` (and other basic packages), I don't think anyone should bother with alpha or beta releases (haskellers or GHC devs) compared to say, testing GHC git repo directly."}}
{"actor":{"display_login":"vincenthz"}}