>>250
Xcodeのバージョンが原因

Double/Intのinit(truncating:)はXcode 10.2+ (Swift 5.0)
StringのdropFirst(_:)はXcode 9.0+ (Swift 4.0)