{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/intero/issues/599","repository_url":"https://api.github.com/repos/commercialhaskell/intero","labels_url":"https://api.github.com/repos/commercialhaskell/intero/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/intero/issues/599/comments","events_url":"https://api.github.com/repos/commercialhaskell/intero/issues/599/events","html_url":"https://github.com/commercialhaskell/intero/issues/599","id":393785308,"node_id":"MDU6SXNzdWUzOTM3ODUzMDg=","number":599,"title":"Avoid using deprecated Network and Network.BSD modules","user":{"login":"DanBurton","id":713692,"node_id":"MDQ6VXNlcjcxMzY5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/713692?v=4","gravatar_id":"","url":"https://api.github.com/users/DanBurton","html_url":"https://github.com/DanBurton","followers_url":"https://api.github.com/users/DanBurton/followers","following_url":"https://api.github.com/users/DanBurton/following{/other_user}","gists_url":"https://api.github.com/users/DanBurton/gists{/gist_id}","starred_url":"https://api.github.com/users/DanBurton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanBurton/subscriptions","organizations_url":"https://api.github.com/users/DanBurton/orgs","repos_url":"https://api.github.com/users/DanBurton/repos","events_url":"https://api.github.com/users/DanBurton/events{/privacy}","received_events_url":"https://api.github.com/users/DanBurton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-23T22:34:12Z","updated_at":"2019-01-03T14:16:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\n[ 9 of 10] Compiling InteractiveUI    ( src/InteractiveUI.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/intero/intero-tmp/InteractiveUI.o )\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:116:1: warning: [-Wdeprecations]\r\n    Module ‘Network’ is deprecated:\r\n      The high level Network interface is no longer supported. Please use Network.Socket.\r\n    |\r\n116 | import qualified Network\r\n    | ^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:117:1: warning: [-Wdeprecations]\r\n    Module ‘Network.BSD’ is deprecated:\r\n      This platform dependent module is no longer supported.\r\n    |\r\n117 | import Network.BSD\r\n    | ^^^^^^^^^^^^^^^^^^\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:695:32: warning: [-Wdeprecations]\r\n    In the use of ‘accept’ (imported from Network):\r\n    Deprecated: \"The high level Network interface is no longer supported. Please use Network.Socket.\"\r\n    |\r\n695 |                   (h, _, _) <- Network.accept sock\r\n    |                                ^^^^^^^^^^^^^^\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:729:12: warning: [-Wdeprecations]\r\n    In the use of ‘getProtocolNumber’ (imported from Network.BSD):\r\n    Deprecated: \"This platform dependent module is no longer supported.\"\r\n    |\r\n729 |   proto <- getProtocolNumber \"tcp\"\r\n    |            ^^^^^^^^^^^^^^^^^\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:735:19: warning: [-Wdeprecations]\r\n    In the use of ‘getHostByName’ (imported from Network.BSD):\r\n    Deprecated: \"This platform dependent module is no longer supported.\"\r\n    |\r\n735 |        address <- getHostByName \"127.0.0.1\"\r\n    |                   ^^^^^^^^^^^^^\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:736:32: warning: [-Wdeprecations]\r\n    In the use of ‘aNY_PORT’ (imported from Network.Socket):\r\n    Deprecated: \"Use defaultPort instead\"\r\n    |\r\n736 |        bind sock (SockAddrInet aNY_PORT (hostAddress address))\r\n    |                                ^^^^^^^^\r\n\r\n/Users/dan/github.com/commercialhaskell/intero/src/InteractiveUI.hs:736:42: warning: [-Wdeprecations]\r\n    In the use of ‘hostAddress’ (imported from Network.BSD):\r\n    Deprecated: \"This platform dependent module is no longer supported.\"\r\n    |\r\n736 |        bind sock (SockAddrInet aNY_PORT (hostAddress address))\r\n    |                                          ^^^^^^^^^^^\r\n```"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/intero/issues/comments/451155061","html_url":"https://github.com/commercialhaskell/intero/issues/599#issuecomment-451155061","issue_url":"https://api.github.com/repos/commercialhaskell/intero/issues/599","id":451155061,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTE1NTA2MQ==","user":{"login":"chrisdone","id":11019,"node_id":"MDQ6VXNlcjExMDE5","avatar_url":"https://avatars3.githubusercontent.com/u/11019?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T14:16:28Z","updated_at":"2019-01-03T14:16:28Z","author_association":"MEMBER","body":"That's annoying - that module wasn't deprecated when I wrote it. I'll have to rewrite code that already works, I guess. :sob: "}}
{"actor":{"display_login":"chrisdone"}}