{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/quickcheck/issues/91","labels_url":"https://api.github.com/repos/BurntSushi/quickcheck/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/quickcheck/issues/91/comments","events_url":"https://api.github.com/repos/BurntSushi/quickcheck/issues/91/events","html_url":"https://github.com/BurntSushi/quickcheck/issues/91","id":102597725,"number":91,"title":"Debug trait somehow getting lost (?) making debugging difficult","user":{"login":"kazagistar","id":737814,"avatar_url":"https://avatars.githubusercontent.com/u/737814?v=3","gravatar_id":"","url":"https://api.github.com/users/kazagistar","html_url":"https://github.com/kazagistar","followers_url":"https://api.github.com/users/kazagistar/followers","following_url":"https://api.github.com/users/kazagistar/following{/other_user}","gists_url":"https://api.github.com/users/kazagistar/gists{/gist_id}","starred_url":"https://api.github.com/users/kazagistar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazagistar/subscriptions","organizations_url":"https://api.github.com/users/kazagistar/orgs","repos_url":"https://api.github.com/users/kazagistar/repos","events_url":"https://api.github.com/users/kazagistar/events{/privacy}","received_events_url":"https://api.github.com/users/kazagistar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-23T08:13:55Z","updated_at":"2015-08-24T10:35:36Z","closed_at":null,"body":"## Expected\r\n\r\nDetails about why my my data structure failed.\r\n\r\n## Actual\r\n\r\n> UNABLE TO SHOW RESULT OF PANIC.\r\n\r\n## Details\r\n\r\n(I am still learning Rust, so bear with me if my code is dumb or I miss something obvious.)\r\n\r\nI am trying to define simple, stable-compatible quickcheck tests for a trait, that can be reused to test different data structures that implement it. In this case, I am trying to test a persistent heap.\r\n\r\n[Data structure + generic test.](https://github.com/kazagistar/okasakish/blob/21a43f45d9cbc3633fef7510b8b21a607bdaf2f6/src/heap.rs)\r\n\r\nUnfortunately, one of my two implementations is broken somewhere, but the only information I get out of quickcheck is `Error: \"UNABLE TO SHOW RESULT OF PANIC.\"', <path>/quickcheck-0.2.21/src/tester.rs:113`.\r\n\r\n[Link to broken build.](https://travis-ci.org/kazagistar/okasakish/jobs/76832591)\r\n\r\n[Link to broken usage location](https://github.com/kazagistar/okasakish/blob/21a43f45d9cbc3633fef7510b8b21a607bdaf2f6/src/binomial_heap.rs#L145)\r\n\r\nThe data structure in question has `#[derive(Debug)]` and I have tested that `println(\"{:?}\", s)` works for this instance of the data structure, so I don't know why I am not getting any other information about the panic, and I don't know what to do to make the situation better.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BurntSushi/quickcheck/issues/comments/134140932","html_url":"https://github.com/BurntSushi/quickcheck/issues/91#issuecomment-134140932","issue_url":"https://api.github.com/repos/BurntSushi/quickcheck/issues/91","id":134140932,"user":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars.githubusercontent.com/u/456674?v=3","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T10:35:36Z","updated_at":"2015-08-24T10:35:36Z","body":"Strange. This is the relevant code: https://github.com/BurntSushi/quickcheck/blob/master/src/tester.rs#L409-L419\r\n\r\nI'll leave this open. Ideally, we could get a smaller test case that is easier to debug."}}