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 ResearchKit, reference main (bb32d1), with Swift 6.0 for visionOS using Xcode 16.0 on 5 Nov 2024 03:08:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bb32d10 Support Strict Concurrency (#30)
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
bb32d100eee6da94e07f30bc32d4457da87a4028
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StanfordBDHG/ResearchKit.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" : [
  ],
  "manifest_display_name" : "ResearchKit",
  "name" : "ResearchKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ResearchKit",
      "targets" : [
        "ResearchKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitUI",
      "targets" : [
        "ResearchKitUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitActiveTask",
      "targets" : [
        "ResearchKitActiveTask"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitSwiftUI",
      "targets" : [
        "ResearchKitSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResearchKitUI",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKitUI",
      "path" : "Sources/ResearchKitUI.xcframework",
      "product_memberships" : [
        "ResearchKitUI",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "ResearchKitSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "ResearchKitSwiftUI",
      "path" : "Sources/ResearchKitSwiftUI",
      "product_memberships" : [
        "ResearchKitSwiftUI"
      ],
      "sources" : [
        "CancelBehavior.swift",
        "Export.swift",
        "ORKLifecycle.swift",
        "ORKOrderedTaskView.swift",
        "TaskResult.swift"
      ],
      "target_dependencies" : [
        "ResearchKit",
        "ResearchKitUI",
        "ResearchKitActiveTask"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ResearchKitActiveTask",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKitActiveTask",
      "path" : "Sources/ResearchKitActiveTask.xcframework",
      "product_memberships" : [
        "ResearchKitActiveTask",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "ResearchKit",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKit",
      "path" : "Sources/ResearchKit.xcframework",
      "product_memberships" : [
        "ResearchKit",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.10"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "ResearchKit",
    "schemes" : [
      "ResearchKit",
      "ResearchKitActiveTask",
      "ResearchKitUI"
    ],
    "targets" : [
      "ResearchKit",
      "ResearchKitTests",
      "ResearchKitUI",
      "ResearchKitActiveTask"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ResearchKit",
      "ResearchKit-Package",
      "ResearchKitActiveTask",
      "ResearchKitSwiftUI",
      "ResearchKitUI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
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 ResearchKit-Package -destination generic/platform=xrOS "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
Resolve Package Graph
Resolved source packages:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'ResearchKitUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitSwiftUI' in project 'ResearchKit'
        ➜ Explicit dependency on target 'ResearchKitSwiftUI' in project 'ResearchKit'
    Target 'ResearchKitSwiftUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitActiveTask' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKit' in project 'ResearchKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/XROS.platform/Developer/SDKs/XROS2.1.sdk -x c -c /dev/null
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/ld -version_details
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: f38f6874e78cc3ecc62e468866c4a742
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f38f6874e78cc3ecc62e468866c4a742.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework'. (in target 'ResearchKitActiveTask' from project 'ResearchKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-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 ResearchKit-Package -destination generic/platform=xrOS "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:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'ResearchKitUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitSwiftUI' in project 'ResearchKit'
        ➜ Explicit dependency on target 'ResearchKitSwiftUI' in project 'ResearchKit'
    Target 'ResearchKitSwiftUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitActiveTask' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKit' in project 'ResearchKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework'. (in target 'ResearchKitActiveTask' from project 'ResearchKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-Package
(1 failure)
BUILD FAILURE 6.0 visionOS