Update to work with rust-0.6

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>