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 RubyGateway, reference main (673ec7), with Swift 5.10 for macOS (Xcode) using Xcode 15.4 on 26 Jun 2024 09:38:14 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme RubyGateway-Package -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/RubyGateway.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnfairh/RubyGateway
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 673ec70 Updates for Swift 6 (#49)
Submodule path 'CRuby': checked out '6cdfc7db30f8fc7a27199a1b6b829e42e67bb5c7'
Submodule 'CRuby' (https://github.com/johnfairh/CRuby.git) registered for path 'CRuby'
Cloning into '/Users/admin/builder/spi-builder-workspace/CRuby'...
Cloned https://github.com/johnfairh/RubyGateway.git
Revision (git rev-parse @):
673ec702b7a7c5ef4130293f4d26e7419021911a
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.10
Building package at path:  $workDir
https://github.com/johnfairh/RubyGateway.git
Command line invocation:
    /Applications/Xcode-15.4.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" : "cruby",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnfairh/CRuby"
    }
  ],
  "manifest_display_name" : "RubyGateway",
  "name" : "RubyGateway",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RubyGateway",
      "targets" : [
        "RubyGateway",
        "RubyGatewayHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RubyGatewayTests",
      "module_type" : "SwiftTarget",
      "name" : "RubyGatewayTests",
      "path" : "Tests/RubyGatewayTests",
      "sources" : [
        "Helpers.swift",
        "TestArrays.swift",
        "TestCallable.swift",
        "TestClassDef.swift",
        "TestCollection.swift",
        "TestComplex.swift",
        "TestConstants.swift",
        "TestDemo.swift",
        "TestDictionaries.swift",
        "TestDynamic.swift",
        "TestErrors.swift",
        "TestFailable.swift",
        "TestGlobalVars.swift",
        "TestMethods.swift",
        "TestMiscObjTypes.swift",
        "TestNumerics.swift",
        "TestObjMethods.swift",
        "TestOperators.swift",
        "TestProcs.swift",
        "TestRanges.swift",
        "TestRational.swift",
        "TestRbObject.swift",
        "TestSets.swift",
        "TestStrings.swift",
        "TestThreads.swift",
        "TestVM.swift",
        "TestVars.swift"
      ],
      "target_dependencies" : [
        "RubyGateway"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RubyGatewayHelpers",
      "module_type" : "ClangTarget",
      "name" : "RubyGatewayHelpers",
      "path" : "Sources/RubyGatewayHelpers",
      "product_dependencies" : [
        "CRuby"
      ],
      "product_memberships" : [
        "RubyGateway"
      ],
      "sources" : [
        "rbg_macros.m",
        "rbg_protect.m",
        "rbg_value.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RubyGateway",
      "module_type" : "SwiftTarget",
      "name" : "RubyGateway",
      "path" : "Sources/RubyGateway",
      "product_dependencies" : [
        "CRuby"
      ],
      "product_memberships" : [
        "RubyGateway"
      ],
      "sources" : [
        "CRubyMacros.swift",
        "Lock.swift",
        "RbBlockCall.swift",
        "RbClass.swift",
        "RbComplex.swift",
        "RbConversions.swift",
        "RbError.swift",
        "RbFailableAccess.swift",
        "RbGateway.swift",
        "RbGlobalVar.swift",
        "RbMethod.swift",
        "RbNumericConversions.swift",
        "RbObject.swift",
        "RbObjectAccess.swift",
        "RbObjectCollection.swift",
        "RbOperators.swift",
        "RbProc.swift",
        "RbRational.swift",
        "RbSymbol.swift",
        "RbThread.swift",
        "RbVM.swift",
        "String+RubyGateway.swift"
      ],
      "target_dependencies" : [
        "RubyGatewayHelpers"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "RubyGateway",
    "schemes" : [
      "RubyGateway-Package"
    ],
    "targets" : [
      "RubyGatewayTests",
      "RubyGateway",
      "RubyGatewayHelpers"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme RubyGateway-Package -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-15.4.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 RubyGateway-Package -destination platform=macOS,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'RubyGateway' in project 'RubyGateway'
        ➜ Explicit dependency on target 'RubyGatewayHelpers' in project 'RubyGateway'
    Target 'RubyGatewayHelpers' in project 'RubyGateway' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -V
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 0d403e655ff3794bca0d91bff62bafc6
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0d403e655ff3794bca0d91bff62bafc6.xcbuilddata
error: SWIFT_VERSION '6.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'RubyGateway' from project 'RubyGateway')
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.4.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 RubyGateway-Package -destination platform=macOS,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'RubyGateway' in project 'RubyGateway'
        ➜ Explicit dependency on target 'RubyGatewayHelpers' in project 'RubyGateway'
    Target 'RubyGatewayHelpers' in project 'RubyGateway' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -V
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 0d403e655ff3794bca0d91bff62bafc6
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0d403e655ff3794bca0d91bff62bafc6.xcbuilddata
error: SWIFT_VERSION '6.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'RubyGateway' from project 'RubyGateway')
** BUILD FAILED **
BUILD FAILURE 5.10 macosXcodebuild