{"action":"opened","issue":{"url":"https://api.github.com/repos/myfreeweb/gitson/issues/1","labels_url":"https://api.github.com/repos/myfreeweb/gitson/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/myfreeweb/gitson/issues/1/comments","events_url":"https://api.github.com/repos/myfreeweb/gitson/issues/1/events","html_url":"https://github.com/myfreeweb/gitson/issues/1","id":59654536,"number":1,"title":"Test suite failure","user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T15:09:56Z","updated_at":"2015-03-03T15:09:56Z","closed_at":null,"body":"This usually comes from trying to run code inside a test suite, and relying on the same set of packages in the global/user package set as the sandbox:\r\n\r\n```\r\nTest suite examples: RUNNING...\r\n\r\n/tmp/stackage-build15295/gitson-0.5.1/library/Gitson.hs:69:5:\r\n    Could not deduce (transformers-0.3.0.0:Control.Monad.IO.Class.MonadIO\r\n                        i)\r\n      arising from a use of âwithLockâ\r\n    from the context (MonadIO i, Functor i, MonadBaseControl IO i)\r\n      bound by the type signature for\r\n                 transaction :: (MonadIO i, Functor i, MonadBaseControl IO i) =>\r\n                                FilePath -> TransactionWriter i () -> i ()\r\n      at /tmp/stackage-build15295/gitson-0.5.1/library/Gitson.hs:65:15-102\r\n    Possible fix:\r\n      add (transformers-0.3.0.0:Control.Monad.IO.Class.MonadIO\r\n             i) to the context of\r\n        the type signature for\r\n          transaction :: (MonadIO i, Functor i, MonadBaseControl IO i) =>\r\n                         FilePath -> TransactionWriter i () -> i ()\r\n    In the expression: withLock lockPath Exclusive Block\r\n    In a stmt of a 'do' block:\r\n      withLock lockPath Exclusive Block\r\n      $ do { writeActions <- execWriterT action;\r\n             shell \"git\" [\"stash\"];\r\n             liftIO $ sequence_ writeActions;\r\n             shell \"git\" [\"add\", \"--all\"];\r\n             .... }\r\n    In the second argument of â($)â, namely\r\n      âdo { liftIO $ writeFile lockPath \"\";\r\n            withLock lockPath Exclusive Block\r\n            $ do { writeActions <- execWriterT action;\r\n                   shell \"git\" [...];\r\n                   .... } }â\r\nTest suite examples: FAIL\r\nTest suite logged to: /home/michael/Desktop/logs/stackage-nightly-2015-03-03/gitson-0.5.1/test-run.out\r\nTest suite tests: RUNNING...\r\n\r\nGitson\r\n  transaction\r\n    saveDocument\r\n      saves entries only after it's done\r\n    saveNextDocument\r\n      saves entries with next numeric ids\r\n    saveDocumentById\r\n      updates an entry by specified id\r\n    saveDocumentByName\r\n      updates an entry by specified name\r\n  readDocument\r\n    returns Just the document when reading an document by key\r\n    returns Nothing when reading by a nonexistent key\r\n  readDocumentById\r\n    returns Just the document when reading an document by id\r\n    returns Nothing when reading by a nonexistent id\r\n  readDocumentByName\r\n    returns Just the document when reading an document by name\r\n    returns Nothing when reading by a nonexistent name\r\n  documentIdFromName\r\n    returns Just the document id from the document's name\r\n    returns Nothing when run with a nonexistent name\r\n  documentNameFromId\r\n    returns Just the document name from the document's id\r\n    returns Nothing when run with a nonexistent id\r\n  listDocumentKeys\r\n    returns a list of document keys when listing a collection\r\n    returns an empty when listing a nonexistent collection\r\n  listEntries\r\n    returns a list of entries when listing a collection\r\n    returns an empty list when listing a nonexistent collection\r\n  listCollections\r\n    returns a list of collections\r\n    returns an empty list when listing an empty repo\r\n\r\nFinished in 1.9395 seconds\r\n20 examples, 0 failures\r\nTest suite tests: PASS\r\nTest suite logged to: /home/michael/Desktop/logs/stackage-nightly-2015-03-03/gitson-0.5.1/test-run.out\r\n```"}}