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

Failed to build swift-package-factory, reference v0.1.0 (2b27eb), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 02:36:12 UTC.

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/tayloraswift/swift-package-factory.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swift-package-factory
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 2b27eb0 add license and readme
Cloned https://github.com/tayloraswift/swift-package-factory.git
Revision (git rev-parse @):
2b27eb00e8011423edfb02fa70dd4c2c5f03cf16
SUCCESS checkout https://github.com/tayloraswift/swift-package-factory.git at v0.1.0
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.49s)
Fetching https://github.com/kelvin13/swift-system-extras.git
Fetching https://github.com/apple/swift-system.git
[1/40] Fetching swift-system-extras
[41/3941] Fetching swift-system-extras, swift-system
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (1.02s)
Fetched https://github.com/apple/swift-system.git from cache (1.02s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.1.0 (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.68s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a (59c93fc)
========================================
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": "swift-package-factory",
      "name": "swift-package-factory",
      "url": "https://github.com/tayloraswift/swift-package-factory.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-package-factory",
      "dependencies": [
        {
          "identity": "swift-system-extras",
          "name": "swift-system-extras",
          "url": "https://github.com/kelvin13/swift-system-extras.git",
          "version": "0.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system-extras",
          "dependencies": [
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-syntax",
          "name": "SwiftSyntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tayloraswift/swift-package-factory.git
[1/404] Fetching swift-package-factory
Fetched https://github.com/tayloraswift/swift-package-factory.git from cache (0.79s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.90s)
Fetching https://github.com/kelvin13/swift-system-extras.git from cache
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.46s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (0.67s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.47s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a (59c93fc)
Creating working copy for https://github.com/tayloraswift/swift-package-factory.git
Working copy of https://github.com/tayloraswift/swift-package-factory.git resolved at v0.1.0 (2b27eb0)
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.2.0
warning: 'swift-package-factory': the target name factory has different case on the filesystem and the Package.swift manifest file
warning: 'swift-package-factory': 'Factory' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
warning: 'swift-package-factory': The target named 'Factory' was identified as an executable target but a non-executable product with this name already exists.
Found 2 product dependencies
  - swift-system-extras
  - SwiftSyntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tayloraswift/swift-package-factory.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
/Users/admin/builder/spi-builder-workspace/Plugins/FactoryPlugin/Main.swift:59:28: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)
57 |                 {
58 |                 case "spf", "swiftpf", "factory":
59 |                     switch system("\(tool.path.string) \(file.path.string)")
   |                            `- error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)
60 |                     {
61 |                     case 0:
_stdlib.system:3:13: note: 'system' has been explicitly marked unavailable here
1 | @available(macOS 10.0, *)
2 | @available(*, unavailable, message: "Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)")
3 | public func system(_: UnsafePointer<CChar>!) -> Int32
  |             `- note: 'system' has been explicitly marked unavailable here
[1/1] Compiling plugin FactoryPlugin
warning: 'spi-builder-workspace': the target name factory has different case on the filesystem and the Package.swift manifest file
warning: 'spi-builder-workspace': 'Factory' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
warning: 'spi-builder-workspace': The target named 'Factory' was identified as an executable target but a non-executable product with this name already exists.
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Basic.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Zip.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Nested.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
BUILD FAILURE 6.0 macosSpm