{"action":"created","issue":{"url":"https://api.github.com/repos/calio/lua-capnproto/issues/4","labels_url":"https://api.github.com/repos/calio/lua-capnproto/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/calio/lua-capnproto/issues/4/comments","events_url":"https://api.github.com/repos/calio/lua-capnproto/issues/4/events","html_url":"https://github.com/calio/lua-capnproto/issues/4","id":58820822,"number":4,"title":"Issue On Mac running lua-capnproto","user":{"login":"rcritt","id":7483220,"avatar_url":"https://avatars.githubusercontent.com/u/7483220?v=3","gravatar_id":"","url":"https://api.github.com/users/rcritt","html_url":"https://github.com/rcritt","followers_url":"https://api.github.com/users/rcritt/followers","following_url":"https://api.github.com/users/rcritt/following{/other_user}","gists_url":"https://api.github.com/users/rcritt/gists{/gist_id}","starred_url":"https://api.github.com/users/rcritt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcritt/subscriptions","organizations_url":"https://api.github.com/users/rcritt/orgs","repos_url":"https://api.github.com/users/rcritt/repos","events_url":"https://api.github.com/users/rcritt/events{/privacy}","received_events_url":"https://api.github.com/users/rcritt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T23:02:58Z","updated_at":"2015-02-24T23:23:55Z","closed_at":null,"body":"It looks like we were getting an error sometimes when serializing with the following message.\r\n\r\n> 2015/02/24 17:16:02 [error] 98107#0: *4 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/capnp.lua:221: cannot convert 'false' to 'unsigned int'\r\n\r\nThe value for this was the first value, @0, in a struct, a UINT32.  I moved that to the last field in the struct and it looks like the error no longer occurs."},"comment":{"url":"https://api.github.com/repos/calio/lua-capnproto/issues/comments/75870967","html_url":"https://github.com/calio/lua-capnproto/issues/4#issuecomment-75870967","issue_url":"https://api.github.com/repos/calio/lua-capnproto/issues/4","id":75870967,"user":{"login":"calio","id":233995,"avatar_url":"https://avatars.githubusercontent.com/u/233995?v=3","gravatar_id":"","url":"https://api.github.com/users/calio","html_url":"https://github.com/calio","followers_url":"https://api.github.com/users/calio/followers","following_url":"https://api.github.com/users/calio/following{/other_user}","gists_url":"https://api.github.com/users/calio/gists{/gist_id}","starred_url":"https://api.github.com/users/calio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calio/subscriptions","organizations_url":"https://api.github.com/users/calio/orgs","repos_url":"https://api.github.com/users/calio/repos","events_url":"https://api.github.com/users/calio/events{/privacy}","received_events_url":"https://api.github.com/users/calio/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T23:23:55Z","updated_at":"2015-02-24T23:23:55Z","body":"It seems you defined @0 to be UINT32, but your data is a boolean value 'false'. Can you post your schema and you data to serialize?"}}