rustpkg: Make code actually compile

oops.