There are two compilation warnings as of the latest Swift versions, both of the same type and easy to fix: 'IndexDistance' is deprecated: all index distances are now of type Int