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 5.10 for visionOS using Xcode 15.4 on 29 Aug 2024 19:09:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 4.52.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:             5.10
Building package at path:  $PWD
https://github.com/StanfordBDHG/ResearchKit.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" : [
  ],
  "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-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=xrOS
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 ResearchKit-Package -destination generic/platform=xrOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
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-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/XROS.platform/Developer/SDKs/XROS1.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 1b2b543b9619f9847d4c1f0d8c09a170
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1b2b543b9619f9847d4c1f0d8c09a170.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 **
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 ResearchKit-Package -destination generic/platform=xrOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
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-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/XROS.platform/Developer/SDKs/XROS1.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 1b2b543b9619f9847d4c1f0d8c09a170
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1b2b543b9619f9847d4c1f0d8c09a170.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 **
BUILD FAILURE 5.10 visionOS