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 slox, reference master (6f9b47), with Swift 6.0 for macOS (Xcode) using Xcode 16.2 on 27 Nov 2024 04:19:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme slox-Package -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexito4/slox.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexito4/slox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6f9b479 update readme
Cloned https://github.com/alexito4/slox.git
Revision (git rev-parse @):
6f9b47958fcf064a4bcde3f6cf7ffb7664a13bf6
SUCCESS checkout https://github.com/alexito4/slox.git at master
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alexito4/slox.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
resolved source packages:
{
  "dependencies" : [
    {
      "identity" : "result",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.4",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/antitypical/Result.git"
    }
  ],
  "manifest_display_name" : "slox",
  "name" : "slox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "slox",
      "targets" : [
        "slox"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenerateAst",
      "targets" : [
        "GenerateAst"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "slox",
      "module_type" : "SwiftTarget",
      "name" : "slox",
      "path" : "Sources/slox",
      "product_memberships" : [
        "slox"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LoxCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LoxCore",
      "module_type" : "SwiftTarget",
      "name" : "LoxCore",
      "path" : "Sources/LoxCore",
      "product_dependencies" : [
        "Result"
      ],
      "product_memberships" : [
        "slox"
      ],
      "sources" : [
        "AstPrinter.swift",
        "Debug.swift",
        "Environment.swift",
        "Expr.swift",
        "Lox.swift",
        "Parser.swift",
        "Resolver.swift",
        "Runtime/Interpreter.swift",
        "Runtime/LoxCallable.swift",
        "Runtime/LoxClass.swift",
        "Runtime/LoxInstance.swift",
        "Scanner.swift",
        "Stmt.swift",
        "Token.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateAst",
      "module_type" : "SwiftTarget",
      "name" : "GenerateAst",
      "path" : "Sources/GenerateAst",
      "product_memberships" : [
        "GenerateAst"
      ],
      "sources" : [
        "Printer.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "slox",
    "schemes" : [
      "GenerateAst",
      "ResultPackageDescription",
      "slox",
      "slox",
      "slox-Package",
      "sloxPackageDescription"
    ],
    "targets" : [
      "sloxPackageDescription",
      "ResultPackageDescription",
      "GenerateAst",
      "slox",
      "LoxCore",
      "Result"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme slox-Package -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme slox-Package -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'slox' in project 'slox'
        ➜ Explicit dependency on target 'LoxCore' in project 'slox'
        ➜ Explicit dependency on target 'Result' in project 'slox'
    Target 'LoxCore' in project 'slox'
        ➜ Explicit dependency on target 'Result' in project 'slox'
    Target 'Result' in project 'slox' (no dependencies)
    Target 'GenerateAst' in project 'slox' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 6bd15fb985d2798349fc96c6663c5e86
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/6bd15fb985d2798349fc96c6663c5e86.xcbuilddata
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'GenerateAst' from project 'slox')
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'Result' from project 'slox')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'Result' from project 'slox')
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'slox' from project 'slox')
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'LoxCore' from project 'slox')
** BUILD FAILED **
The following build commands failed:
	Building project slox with scheme slox-Package
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme slox-Package -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'slox' in project 'slox'
        ➜ Explicit dependency on target 'LoxCore' in project 'slox'
        ➜ Explicit dependency on target 'Result' in project 'slox'
    Target 'LoxCore' in project 'slox'
        ➜ Explicit dependency on target 'Result' in project 'slox'
    Target 'Result' in project 'slox' (no dependencies)
    Target 'GenerateAst' in project 'slox' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'LoxCore' from project 'slox')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'Result' from project 'slox')
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'Result' from project 'slox')
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'GenerateAst' from project 'slox')
/Users/admin/builder/spi-builder-workspace/slox.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.1.99. (in target 'slox' from project 'slox')
** BUILD FAILED **
The following build commands failed:
	Building project slox with scheme slox-Package
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild