{"action":"created","issue":{"url":"https://api.github.com/repos/spacejam/rust-rocksdb/issues/24","labels_url":"https://api.github.com/repos/spacejam/rust-rocksdb/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/spacejam/rust-rocksdb/issues/24/comments","events_url":"https://api.github.com/repos/spacejam/rust-rocksdb/issues/24/events","html_url":"https://github.com/spacejam/rust-rocksdb/issues/24","id":97361535,"number":24,"title":"Can't compile rust-rocksdb","user":{"login":"code-ape","id":3579192,"avatar_url":"https://avatars.githubusercontent.com/u/3579192?v=3","gravatar_id":"","url":"https://api.github.com/users/code-ape","html_url":"https://github.com/code-ape","followers_url":"https://api.github.com/users/code-ape/followers","following_url":"https://api.github.com/users/code-ape/following{/other_user}","gists_url":"https://api.github.com/users/code-ape/gists{/gist_id}","starred_url":"https://api.github.com/users/code-ape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-ape/subscriptions","organizations_url":"https://api.github.com/users/code-ape/orgs","repos_url":"https://api.github.com/users/code-ape/repos","events_url":"https://api.github.com/users/code-ape/events{/privacy}","received_events_url":"https://api.github.com/users/code-ape/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T00:22:48Z","updated_at":"2015-07-27T04:08:33Z","closed_at":null,"body":"Followed the instructions but had the following error when compiling:\r\n\r\n```\r\n$ cargo build\r\n   Compiling rocksdb v0.0.8\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:168:27: 168:36 error: type mismatch resolving `<&[u8] as core::iter::IntoIterator>::Item == u8`:\r\n expected &-ptr,\r\n    found u8 [E0271]\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:168         Some(v) => result.extend(v),\r\n                                                                                                                               ^~~~~~~~~\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:168:27: 168:36 help: run `rustc --explain E0271` to see a detailed explanation\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:172:16: 172:26 error: type mismatch resolving `<&[u8] as core::iter::IntoIterator>::Item == u8`:\r\n expected &-ptr,\r\n    found u8 [E0271]\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:172         result.extend(op);\r\n                                                                                                                    ^~~~~~~~~~\r\nnote: in expansion of for loop expansion\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:171:5: 173:6 note: expansion site\r\n/home/ferris/.cargo/registry/src/github.com-1ecc6299db9ec823/rocksdb-0.0.8/src/merge_operator.rs:172:16: 172:26 help: run `rustc --explain E0271` to see a detailed explanation\r\nerror: aborting due to 2 previous errors\r\nCould not compile `rocksdb`.\r\n```\r\n\r\nAny idea what the issue is? I'm happy to do a PR and fix it if needed :)"},"comment":{"url":"https://api.github.com/repos/spacejam/rust-rocksdb/issues/comments/125079972","html_url":"https://github.com/spacejam/rust-rocksdb/issues/24#issuecomment-125079972","issue_url":"https://api.github.com/repos/spacejam/rust-rocksdb/issues/24","id":125079972,"user":{"login":"code-ape","id":3579192,"avatar_url":"https://avatars.githubusercontent.com/u/3579192?v=3","gravatar_id":"","url":"https://api.github.com/users/code-ape","html_url":"https://github.com/code-ape","followers_url":"https://api.github.com/users/code-ape/followers","following_url":"https://api.github.com/users/code-ape/following{/other_user}","gists_url":"https://api.github.com/users/code-ape/gists{/gist_id}","starred_url":"https://api.github.com/users/code-ape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-ape/subscriptions","organizations_url":"https://api.github.com/users/code-ape/orgs","repos_url":"https://api.github.com/users/code-ape/repos","events_url":"https://api.github.com/users/code-ape/events{/privacy}","received_events_url":"https://api.github.com/users/code-ape/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T04:08:33Z","updated_at":"2015-07-27T04:08:33Z","body":"No, it was a bug in my setup! I reloaded the nightly build at it worked fine haha. I'll take a look at seeing how hard it is to port to 1.1.0 though!"}}