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 Realm, reference main (59dd53), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 14 Sep 2024 20:31:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Realm -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/beMappy/Realm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/beMappy/Realm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 59dd53c chore: Release SPM version as a pod
Cloned https://github.com/beMappy/Realm.git
Revision (git rev-parse @):
59dd53c8cd9874cb720c6050561271f21a32ff44
SUCCESS checkout https://github.com/beMappy/Realm.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/beMappy/Realm.git
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.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
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  Realm: /Users/admin/builder/spi-builder-workspace
resolved source packages: Realm
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Realm",
  "name" : "Realm",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Realm",
      "targets" : [
        "Realm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Realm",
      "module_type" : "BinaryTarget",
      "name" : "Realm",
      "path" : "Realm.xcframework",
      "product_memberships" : [
        "Realm"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Realm"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Realm -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.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 Realm -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
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
Resolve Package Graph
Resolved source packages:
  Realm: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'Realm' in project 'Realm' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk -x c -c /dev/null
Build description signature: e3773de03bdf82fb209ce07e76198183
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e3773de03bdf82fb209ce07e76198183.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Realm.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Realm.xcframework'. (in target 'Realm' from project 'Realm')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Realm
(1 failure)
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.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 Realm -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
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
Resolve Package Graph
Resolved source packages:
  Realm: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'Realm' in project 'Realm' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/Realm.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Realm.xcframework'. (in target 'Realm' from project 'Realm')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Realm
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild