The Swift Package Index logo.Swift Package Index

Build Information

Successful build of IsoCountryCodes, reference master (f66725), with Swift 6.1 for macOS (SPM) on 20 May 2025 20:05:38 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/funky-monkey/IsoCountryCodes.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/funky-monkey/IsoCountryCodes
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f667254 Merge pull request #20 from shagedorn/add-kosovo
Cloned https://github.com/funky-monkey/IsoCountryCodes.git
Revision (git rev-parse @):
f6672549f8d99bb6a8c7bc5233bc8630bb92c172
SUCCESS checkout https://github.com/funky-monkey/IsoCountryCodes.git at master
========================================
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": "isocountrycodes",
      "name": "IsoCountryCodes",
      "url": "https://github.com/funky-monkey/IsoCountryCodes.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IsoCountryCodes",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/funky-monkey/IsoCountryCodes.git
[1/161] Fetching isocountrycodes
Fetched https://github.com/funky-monkey/IsoCountryCodes.git from cache (0.81s)
Creating working copy for https://github.com/funky-monkey/IsoCountryCodes.git
Working copy of https://github.com/funky-monkey/IsoCountryCodes.git resolved at master (f667254)
warning: '.resolve-product-dependencies': dependency 'isocountrycodes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/funky-monkey/IsoCountryCodes.git
https://github.com/funky-monkey/IsoCountryCodes.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IsoCountryCodes",
  "name" : "IsoCountryCodes",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "IsoCountryCodes",
      "targets" : [
        "IsoCountryCodes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IsoCountryCodesTests",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodesTests",
      "path" : "Tests",
      "sources" : [
        "IsoCountryCodesTests.swift"
      ],
      "target_dependencies" : [
        "IsoCountryCodes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IsoCountryCodes",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodes",
      "path" : "Sources",
      "product_memberships" : [
        "IsoCountryCodes"
      ],
      "sources" : [
        "IsoCountries.swift",
        "IsoCountryCodes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Emitting module IsoCountryCodes
/Users/admin/builder/spi-builder-workspace/Sources/IsoCountries.swift:44:23: warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct IsoCountryInfo {
    |               `- note: consider making struct 'IsoCountryInfo' conform to the 'Sendable' protocol
 10 |
 11 |     public let name: String
    :
 42 |
 43 |     // swiftlint:disable line_length
 44 |     public static let allCountries: [IsoCountryInfo] = [
    |                       |- warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'allCountries' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         IsoCountryInfo(name: "Afghanistan", numeric: "004", alpha2: "AF", alpha3: "AFG", calling: "+93", currency: "AFN", continent: "AS", fractionDigits: 2),
 46 |         IsoCountryInfo(name: "Åland Islands", numeric: "248", alpha2: "AX", alpha3: "ALA", calling: "+358", currency: "FIM", continent: "EU", fractionDigits: 2),
[4/5] Compiling IsoCountryCodes IsoCountryCodes.swift
[5/5] Compiling IsoCountryCodes IsoCountries.swift
/Users/admin/builder/spi-builder-workspace/Sources/IsoCountries.swift:44:23: warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct IsoCountryInfo {
    |               `- note: consider making struct 'IsoCountryInfo' conform to the 'Sendable' protocol
 10 |
 11 |     public let name: String
    :
 42 |
 43 |     // swiftlint:disable line_length
 44 |     public static let allCountries: [IsoCountryInfo] = [
    |                       |- warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'allCountries' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         IsoCountryInfo(name: "Afghanistan", numeric: "004", alpha2: "AF", alpha3: "AFG", calling: "+93", currency: "AFN", continent: "AS", fractionDigits: 2),
 46 |         IsoCountryInfo(name: "Åland Islands", numeric: "248", alpha2: "AX", alpha3: "ALA", calling: "+358", currency: "FIM", continent: "EU", fractionDigits: 2),
Build complete! (4.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IsoCountryCodes",
  "name" : "IsoCountryCodes",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "IsoCountryCodes",
      "targets" : [
        "IsoCountryCodes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IsoCountryCodesTests",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodesTests",
      "path" : "Tests",
      "sources" : [
        "IsoCountryCodesTests.swift"
      ],
      "target_dependencies" : [
        "IsoCountryCodes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IsoCountryCodes",
      "module_type" : "SwiftTarget",
      "name" : "IsoCountryCodes",
      "path" : "Sources",
      "product_memberships" : [
        "IsoCountryCodes"
      ],
      "sources" : [
        "IsoCountries.swift",
        "IsoCountryCodes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.