Language changes: result::collect() is deprecated