The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of VatNumberKit, reference main (426f06), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 23:25:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frederik-jacques/vatnumberkit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frederik-jacques/vatnumberkit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 426f060 Create swift.yml
Cloned https://github.com/frederik-jacques/vatnumberkit.git
Revision (git rev-parse @):
426f060063dfd4075bb7de2a1f6e074458081f04
SUCCESS checkout https://github.com/frederik-jacques/vatnumberkit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "vatnumberkit",
      "name": "VatNumberKit",
      "url": "https://github.com/frederik-jacques/vatnumberkit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vatnumberkit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/frederik-jacques/vatnumberkit.git
[1/404] Fetching vatnumberkit
Fetched https://github.com/frederik-jacques/vatnumberkit.git from cache (0.72s)
Creating working copy for https://github.com/frederik-jacques/vatnumberkit.git
Working copy of https://github.com/frederik-jacques/vatnumberkit.git resolved at main (426f060)
warning: '.resolve-product-dependencies': dependency 'vatnumberkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/frederik-jacques/vatnumberkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/44] Emitting module VatNumberKit
[4/48] Compiling VatNumberKit VatNumberKit_CyprusChecksumValidator.swift
[5/48] Compiling VatNumberKit VatNumberKit_CzechRepublicChecksumValidator.swift
[6/48] Compiling VatNumberKit VatNumberKit_DenmarkChecksumValidator.swift
[7/48] Compiling VatNumberKit VatNumberKit_EstoniaChecksumValidator.swift
[8/48] Compiling VatNumberKit VatNumberKit_EuropeanEntityValidator.swift
[9/48] Compiling VatNumberKit VatNumberKit_EUVatServiceResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:46:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                     return
 48 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:99:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 |                     return
101 |                 }
[10/48] Compiling VatNumberKit VatNumberKit_UkVatServiceResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:46:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                     return
 48 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:99:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 |                     return
101 |                 }
[11/48] Compiling VatNumberKit VatNumberKit_ValidationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:46:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                     return
 48 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:99:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 |                     return
101 |                 }
[12/48] Compiling VatNumberKit VatNumberKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:46:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                     return
 48 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:99:21: warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<VatNumberKit.ValidationServiceOutput, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 |                     return
101 |                 }
[13/48] Compiling VatNumberKit VatNumberKit_Country.swift
[14/48] Compiling VatNumberKit VatNumberKit_ValidationMode.swift
[15/48] Compiling VatNumberKit VatNumberKit_ValidationOutput.swift
[16/48] Compiling VatNumberKit VatNumberKit_ValidationServiceOutput.swift
[17/48] Compiling VatNumberKit VatNumberKit_VatNumber.swift
[18/48] Compiling VatNumberKit VatNumberKit_SlovakiaChecksumValidator.swift
[19/48] Compiling VatNumberKit VatNumberKit_SloveniaChecksumValidator.swift
[20/48] Compiling VatNumberKit VatNumberKit_SpainChecksumValidator.swift
[21/48] Compiling VatNumberKit VatNumberKit_SwedenChecksumValidator.swift
[22/48] Compiling VatNumberKit VatNumberKit_FinlandChecksumValidator.swift
[23/48] Compiling VatNumberKit VatNumberKit_FranceChecksumValidator.swift
[24/48] Compiling VatNumberKit VatNumberKit_GermanyChecksumValidator.swift
[25/48] Compiling VatNumberKit VatNumberKit_GreatBritainChecksumValidator.swift
[26/48] Compiling VatNumberKit VatNumberKit_GreeceChecksumValidator.swift
[27/48] Compiling VatNumberKit VatNumberKit_AustriaChecksumValidator.swift
[28/48] Compiling VatNumberKit VatNumberKit_BelgiumChecksumValidator.swift
[29/48] Compiling VatNumberKit VatNumberKit_BulgariaChecksumValidator.swift
[30/48] Compiling VatNumberKit VatNumberKit_ChecksumValidator.swift
[31/48] Compiling VatNumberKit VatNumberKit_CroatiaChecksumValidator.swift
[32/48] Compiling VatNumberKit VatNumberKit_LithuaniaChecksumValidator.swift
[33/48] Compiling VatNumberKit VatNumberKit_LuxembourgChecksumValidator.swift
[34/48] Compiling VatNumberKit VatNumberKit_MaltaChecksumValidator.swift
[35/48] Compiling VatNumberKit VatNumberKit_NetherlandsChecksumValidator.swift
[36/48] Compiling VatNumberKit VatNumberKit_HungaryChecksumValidator.swift
[37/48] Compiling VatNumberKit VatNumberKit_IrelandChecksumValidator.swift
[38/48] Compiling VatNumberKit VatNumberKit_ItalyChecksumValidator.swift
[39/48] Compiling VatNumberKit VatNumberKit_LatviaChecksumValidator.swift
[40/48] Compiling VatNumberKit IrishVatNumberConverter.swift
[41/48] Compiling VatNumberKit BinaryInteger+Clamp.swift
[42/48] Compiling VatNumberKit String+Alphanumeric.swift
[43/48] Compiling VatNumberKit String+RangeSubscript.swift
[44/48] Compiling VatNumberKit VatNumberKit_ChecksumHelper.swift
[45/48] Compiling VatNumberKit VatNumberKit_NorthernIrelandChecksumValidator.swift
[46/48] Compiling VatNumberKit VatNumberKit_PolandChecksumValidator.swift
[47/48] Compiling VatNumberKit VatNumberKit_PortugalChecksumValidator.swift
[48/48] Compiling VatNumberKit VatNumberKit_RomaniaChecksumValidator.swift
Build complete! (21.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VatNumberKit",
  "name" : "VatNumberKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "VatNumberKit",
      "targets" : [
        "VatNumberKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "VatNumberKitTests",
      "module_type" : "SwiftTarget",
      "name" : "VatNumberKitTests",
      "path" : "Tests/VatNumberKitTests",
      "sources" : [
        "Converters/IrishVatNumberConverterTests.swift",
        "Countries/Austria/AustriaVatNumberTests.swift",
        "Countries/Belgium/BelgiumVatNumberTests.swift",
        "Countries/Bulgaria/BulgariaVatNumberTests.swift",
        "Countries/Croatia/CroatiaVatNumberTests.swift",
        "Countries/Cyprus/CyprusVatNumberTests.swift",
        "Countries/Czech Replublic/CzechRepublicVatNumberTests.swift",
        "Countries/Denmark/DenmarkVatNumberTests.swift",
        "Countries/Estonia/EstoniaVatNumberTests.swift",
        "Countries/European Entity/EuropeanEntityVatNumberTests.swift",
        "Countries/Finland/FinlandVatNumberTests.swift",
        "Countries/France/FranceVatNumberTests.swift",
        "Countries/Germany/GermanyVatNumberTests.swift",
        "Countries/Great Britain/GreatBritainVatNumberTests.swift",
        "Countries/Greece/GreeceVatNumberTests.swift",
        "Countries/Hungary/HungaryVatNumberTests.swift",
        "Countries/Ireland/IrelandVatNumberTests.swift",
        "Countries/Italy/ItalyVatNumberTests.swift",
        "Countries/Latvia/LatviaVatNumberTests.swift",
        "Countries/Lithuania/LithuaniaVatNumberTests.swift",
        "Countries/Luxembourg/LuxembourgVatNumberTests.swift",
        "Countries/Malta/MaltaVatNumberTests.swift",
        "Countries/Netherlands/NetherlandsVatNumberTests.swift",
        "Countries/Northern Ireland/NorthernIrelandVatNumberTests.swift",
        "Countries/Poland/PolandVatNumberTests.swift",
        "Countries/Portugal/PortugalVatNumberTests.swift",
        "Countries/Romania/RomaniaVatNumberTests.swift",
        "Countries/Slovakia/SlovakiaVatNumberTests.swift",
        "Countries/Slovenia/SloveniaVatNumberTests.swift",
        "Countries/Spain/SpainVatNumberTests.swift",
        "Countries/Sweden/SwedenVatNumberTests.swift",
        "Extensions/String/StringAlphanumericTests.swift",
        "Extensions/String/StringDiacriticsTests.swift",
        "Models/VatNumberCountryTests.swift",
        "Models/VatNumberTests.swift",
        "Validators/Checksum/AustriaChecksumValidatorTests.swift",
        "Validators/Checksum/BelgiumChecksumValidatorTests.swift",
        "Validators/Checksum/BulgariaChecksumValidatorTests.swift",
        "Validators/Checksum/CroatiaChecksumValidatorTests.swift",
        "Validators/Checksum/CyprusChecksumValidatorTests.swift",
        "Validators/Checksum/CzechRepublicChecksumValidatorTests.swift",
        "Validators/Checksum/DenmarkChecksumValidatorTests.swift",
        "Validators/Checksum/EstoniaChecksumValidatorTests.swift",
        "Validators/Checksum/EuropeanEntityChecksumValidatorTests.swift",
        "Validators/Checksum/FinlandChecksumValidatorTests.swift",
        "Validators/Checksum/FranceChecksumValidatorTests.swift",
        "Validators/Checksum/GermanyChecksumValidatorTests.swift",
        "Validators/Checksum/GreatBritainChecksumValidatorTests.swift",
        "Validators/Checksum/GreeceChecksumValidatorTests.swift",
        "Validators/Checksum/HungaryChecksumValidatorTests.swift",
        "Validators/Checksum/IrelandChecksumValidatorTests.swift",
        "Validators/Checksum/ItalyChecksumValidatorTests.swift",
        "Validators/Checksum/LatviaChecksumValidatorTests.swift",
        "Validators/Checksum/LithuaniaChecksumValidatorTests.swift",
        "Validators/Checksum/LuxembourgChecksumValidatorTests.swift",
        "Validators/Checksum/MaltaChecksumValidatorTests.swift",
        "Validators/Checksum/NetherlandsChecksumValidatorTests.swift",
        "Validators/Checksum/NorthernIrelandChecksumValidatorTests.swift",
        "Validators/Checksum/PolandChecksumValidatorTests.swift",
        "Validators/Checksum/PortugalChecksumValidatorTests.swift",
        "Validators/Checksum/RomaniaChecksumValidatorTests.swift",
        "Validators/Checksum/SlovakiaChecksumValidatorTests.swift",
        "Validators/Checksum/SloveniaChecksumValidatorTests.swift",
        "Validators/Checksum/SpainChecksumValidatorTests.swift",
        "Validators/Checksum/SwedenChecksumValidatorTests.swift",
        "Validators/Online/Services/MockUrlProtocol.swift",
        "Validators/Online/Services/Mocks.swift",
        "Validators/Online/Services/ValidationServiceTests.swift",
        "VatNumberKitTests.swift"
      ],
      "target_dependencies" : [
        "VatNumberKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VatNumberKit",
      "module_type" : "SwiftTarget",
      "name" : "VatNumberKit",
      "path" : "Sources/VatNumberKit",
      "product_memberships" : [
        "VatNumberKit"
      ],
      "sources" : [
        "Converters/IrishVatNumberConverter.swift",
        "Extensions/BinaryInteger/BinaryInteger+Clamp.swift",
        "Extensions/String/String+Alphanumeric.swift",
        "Extensions/String/String+RangeSubscript.swift",
        "Helpers/VatNumberKit_ChecksumHelper.swift",
        "Models/VatNumberKit_Country.swift",
        "Models/VatNumberKit_ValidationMode.swift",
        "Models/VatNumberKit_ValidationOutput.swift",
        "Models/VatNumberKit_ValidationServiceOutput.swift",
        "Models/VatNumberKit_VatNumber.swift",
        "Validators/Checksum/VatNumberKit_AustriaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_BelgiumChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_BulgariaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_ChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_CroatiaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_CyprusChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_CzechRepublicChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_DenmarkChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_EstoniaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_EuropeanEntityValidator.swift",
        "Validators/Checksum/VatNumberKit_FinlandChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_FranceChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_GermanyChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_GreatBritainChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_GreeceChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_HungaryChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_IrelandChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_ItalyChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_LatviaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_LithuaniaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_LuxembourgChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_MaltaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_NetherlandsChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_NorthernIrelandChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_PolandChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_PortugalChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_RomaniaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_SlovakiaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_SloveniaChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_SpainChecksumValidator.swift",
        "Validators/Checksum/VatNumberKit_SwedenChecksumValidator.swift",
        "Validators/Online/Services/Response Models/VatNumberKit_EUVatServiceResponse.swift",
        "Validators/Online/Services/Response Models/VatNumberKit_UkVatServiceResponse.swift",
        "Validators/Online/Services/VatNumberKit_ValidationService.swift",
        "VatNumberKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.