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.1 for macOS (SPM) on 27 Apr 2025 11:46:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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/70233] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (2.95s)
Fetching https://github.com/kelvin13/swift-system-extras.git
Fetching https://github.com/apple/swift-system.git from cache
[1/40] Fetching swift-system-extras
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.58s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Fetched https://github.com/apple/swift-system.git from cache (0.69s)
Computed https://github.com/kelvin13/swift-system-extras.git at 0.1.0 (1.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.58s)
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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
========================================
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.2",
              "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.73s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.79s)
Fetching https://github.com/kelvin13/swift-system-extras.git from cache
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.44s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (1.02s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.94s)
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.2
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' 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.1
Building package at path:  $PWD
https://github.com/tayloraswift/swift-package-factory.git
https://github.com/tayloraswift/swift-package-factory.git
{
  "dependencies" : [
    {
      "identity" : "swift-system-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kelvin13/swift-system-extras.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "branch" : [
          "swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "swift-package-factory",
  "name" : "swift-package-factory",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "factory",
      "targets" : [
        "factory"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Factory",
      "targets" : [
        "Factory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FactoryPlugin",
      "targets" : [
        "FactoryPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "factory",
      "module_type" : "SwiftTarget",
      "name" : "factory",
      "path" : "Sources/factory",
      "product_memberships" : [
        "factory",
        "FactoryPlugin"
      ],
      "sources" : [
        "Error.swift",
        "Factory.swift",
        "Instantiator.swift",
        "LexicalScope.swift",
        "Loop.swift",
        "Main.swift",
        "MatrixElement.swift",
        "Transformer.swift"
      ],
      "target_dependencies" : [
        "Factory"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FactoryPluginValidExampleTarget",
      "module_type" : "SwiftTarget",
      "name" : "FactoryPluginValidExampleTarget",
      "path" : "Examples/ValidExamples",
      "sources" : [
        "Basic.spf.swift",
        "DocComments.spf.swift",
        "Nested.spf.swift",
        "OtherAttributes.spf.swift",
        "Scopes.spf.swift",
        "Zip.spf.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FactoryPluginInvalidExampleTarget",
      "module_type" : "SwiftTarget",
      "name" : "FactoryPluginInvalidExampleTarget",
      "path" : "Examples/InvalidExamples",
      "sources" : [
        "InvalidMatrix.spf.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FactoryPlugin",
      "module_type" : "PluginTarget",
      "name" : "FactoryPlugin",
      "path" : "Plugins/FactoryPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "generate swift sources from factory sources",
          "type" : "custom",
          "verb" : "factory"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "FactoryPlugin"
      ],
      "sources" : [
        "Main.swift",
        "MissingTargetError.swift"
      ],
      "target_dependencies" : [
        "factory"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Factory",
      "module_type" : "SwiftTarget",
      "name" : "Factory",
      "path" : "Sources/Factory",
      "product_dependencies" : [
        "SystemExtras",
        "SwiftSyntax",
        "SwiftSyntaxParser"
      ],
      "product_memberships" : [
        "factory",
        "Factory",
        "FactoryPlugin"
      ],
      "sources" : [
        "Error.swift",
        "Factory.swift",
        "Instantiator.swift",
        "LexicalScope.swift",
        "Loop.swift",
        "Main.swift",
        "MatrixElement.swift",
        "Transformer.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
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' 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.
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
/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:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/_stdlib.h:203:6: note: 'system' has been explicitly marked unavailable here
201 | __API_AVAILABLE(macos(10.0)) __IOS_PROHIBITED
202 | __WATCHOS_PROHIBITED __TVOS_PROHIBITED
203 | int	 system(const char *) __DARWIN_ALIAS_C(system);
    |      `- note: 'system' has been explicitly marked unavailable here
204 |
205 |
[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' 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/Scopes.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/Basic.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.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/UndefinedBasis.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
/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:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/_stdlib.h:203:6: note: 'system' has been explicitly marked unavailable here
201 | __API_AVAILABLE(macos(10.0)) __IOS_PROHIBITED
202 | __WATCHOS_PROHIBITED __TVOS_PROHIBITED
203 | int	 system(const char *) __DARWIN_ALIAS_C(system);
    |      `- note: 'system' has been explicitly marked unavailable here
204 |
205 |
[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' 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/Zip.spf
    /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/DocComments.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Nested.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.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/UndefinedBasis.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
BUILD FAILURE 6.1 macosSpm