Language changes: ~T syntax is obsolete
libstd changes: cast::transmute is now mem::transmute
~[] no longer implements FromIterator