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 Castor, reference main (fc972e), with Swift 5.9 for watchOS using Xcode 15.2 on 5 May 2025 07:58:37 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Castor -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SRGSSR/castor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SRGSSR/castor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fc972e9 Fix Google Cast SDK issue tracker link (#91)
Cloned https://github.com/SRGSSR/castor.git
Revision (git rev-parse @):
fc972e93e725bfc269450dd0305e22b80544309a
SUCCESS checkout https://github.com/SRGSSR/castor.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/SRGSSR/castor.git
Command line invocation:
    /Applications/Xcode-15.2.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
Resolve Package Graph
Fetching from https://github.com/SRGSSR/google-cast-sdk.git
Creating working copy of package ‘google-cast-sdk’
Checking out 4.8.3 of package ‘google-cast-sdk’
Resolve Package Graph
Resolved source packages:
  Castor: /Users/admin/builder/spi-builder-workspace
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
resolved source packages: Castor, GoogleCast
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "google-cast-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.3",
            "upper_bound" : "4.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SRGSSR/google-cast-sdk.git"
    }
  ],
  "manifest_display_name" : "Castor",
  "name" : "Castor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Castor",
      "targets" : [
        "Castor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CollectionTests.swift",
        "ComparableTests.swift",
        "RangeReplaceableTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CastorPackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "CastorPackageInfoPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "PackageInfoPlugin/plugin.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CastorPackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "CastorPackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Castor",
      "module_type" : "SwiftTarget",
      "name" : "Castor",
      "path" : "Sources/Castor",
      "product_dependencies" : [
        "GoogleCast"
      ],
      "product_memberships" : [
        "Castor"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Castor/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Cast.swift",
        "CastAsset.swift",
        "CastButton.swift",
        "CastConfiguration.swift",
        "CastCurrent.swift",
        "CastDevice.swift",
        "CastExpandedMediaControlsView.swift",
        "CastMetadata.swift",
        "CastMiniMediaControlsView.swift",
        "CastPlaybackConfiguration.swift",
        "CastPlaybackSpeed.swift",
        "CastPlayer+SettingsMenu.swift",
        "CastPlayer.swift",
        "CastPlayerItem.swift",
        "CastProgressTracker.swift",
        "CastQueue.swift",
        "CastSeek.swift",
        "CastSettingsUpdate.swift",
        "CastSkip.swift",
        "Extensions/Binding.swift",
        "Extensions/CMTimeRange.swift",
        "Extensions/Collection.swift",
        "Extensions/Comparable.swift",
        "Extensions/GCKMediaQueue.swift",
        "Extensions/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/View.swift",
        "TimeProperties.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Castor"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Castor -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.2.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 Castor -destination generic/platform=watchOS
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:
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
  Castor: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “CastorPackageInfoPlugin” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/CastorPackageInfoPlugin
[debug]: Using compiler /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 270ae89e1adb8cccbf3e966863901f8c8ff388ee7d11fd7c87db04d10a3a4b6f
Apply build tool plug-in “CastorPackageInfoPlugin” to target “Castor” in package “spi-builder-workspace”
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow mach-lookup (global-name \"com.apple.lsd.mapdb\"))
(allow file-write*
    (subpath \"/private/tmp\")
    (subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T\")
)
(deny file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace\")
)
(allow file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin\")
)
" /Users/admin/builder/spi-builder-workspace/Artifacts/PackageInfo.artifactbundle/package-info.sh /Users/admin/builder/spi-builder-workspace/Sources/Castor/../.. /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin
Process build tool plug-in results
package: <IDESwiftPackageCore.IDESwiftPackage:0x1240069d0 path:'/Users/admin/builder/spi-builder-workspace'>
    target: Castor
        prebuildCommandOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
        buildCommands: []
        allDerivedOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'GoogleCast' in project 'GoogleCast' (no dependencies)
    Target 'CastorPackageInfoPlugin' in project 'Castor' (no dependencies)
    Target 'Castor_Castor' in project 'Castor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: d0ad33dbb2cbe8ef96be60cf64b43bec
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d0ad33dbb2cbe8ef96be60cf64b43bec.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'GoogleCast' from project 'GoogleCast')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
Resolve Package Graph
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.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
Resolve Package Graph
Resolved source packages:
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
  Castor: /Users/admin/builder/spi-builder-workspace
resolved source packages: GoogleCast, Castor
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "google-cast-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.3",
            "upper_bound" : "4.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SRGSSR/google-cast-sdk.git"
    }
  ],
  "manifest_display_name" : "Castor",
  "name" : "Castor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Castor",
      "targets" : [
        "Castor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CollectionTests.swift",
        "ComparableTests.swift",
        "RangeReplaceableTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CastorPackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "CastorPackageInfoPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "PackageInfoPlugin/plugin.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CastorPackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "CastorPackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Castor",
      "module_type" : "SwiftTarget",
      "name" : "Castor",
      "path" : "Sources/Castor",
      "product_dependencies" : [
        "GoogleCast"
      ],
      "product_memberships" : [
        "Castor"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Castor/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Cast.swift",
        "CastAsset.swift",
        "CastButton.swift",
        "CastConfiguration.swift",
        "CastCurrent.swift",
        "CastDevice.swift",
        "CastExpandedMediaControlsView.swift",
        "CastMetadata.swift",
        "CastMiniMediaControlsView.swift",
        "CastPlaybackConfiguration.swift",
        "CastPlaybackSpeed.swift",
        "CastPlayer+SettingsMenu.swift",
        "CastPlayer.swift",
        "CastPlayerItem.swift",
        "CastProgressTracker.swift",
        "CastQueue.swift",
        "CastSeek.swift",
        "CastSettingsUpdate.swift",
        "CastSkip.swift",
        "Extensions/Binding.swift",
        "Extensions/CMTimeRange.swift",
        "Extensions/Collection.swift",
        "Extensions/Comparable.swift",
        "Extensions/GCKMediaQueue.swift",
        "Extensions/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/View.swift",
        "TimeProperties.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Castor"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Castor -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.2.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 Castor -destination generic/platform=watchOS
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:
  Castor: /Users/admin/builder/spi-builder-workspace
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
Prepare packages
Compile plug-in “CastorPackageInfoPlugin” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/CastorPackageInfoPlugin
[debug]: Using compiler /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 270ae89e1adb8cccbf3e966863901f8c8ff388ee7d11fd7c87db04d10a3a4b6f
Apply build tool plug-in “CastorPackageInfoPlugin” to target “Castor” in package “spi-builder-workspace”
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow mach-lookup (global-name \"com.apple.lsd.mapdb\"))
(allow file-write*
    (subpath \"/private/tmp\")
    (subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T\")
)
(deny file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace\")
)
(allow file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin\")
)
" /Users/admin/builder/spi-builder-workspace/Artifacts/PackageInfo.artifactbundle/package-info.sh /Users/admin/builder/spi-builder-workspace/Sources/Castor/../.. /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin
Process build tool plug-in results
package: <IDESwiftPackageCore.IDESwiftPackage:0x10c88c170 path:'/Users/admin/builder/spi-builder-workspace'>
    target: Castor
        prebuildCommandOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
        buildCommands: []
        allDerivedOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'GoogleCast' in project 'GoogleCast' (no dependencies)
    Target 'CastorPackageInfoPlugin' in project 'Castor' (no dependencies)
    Target 'Castor_Castor' in project 'Castor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: d0ad33dbb2cbe8ef96be60cf64b43bec
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d0ad33dbb2cbe8ef96be60cf64b43bec.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'GoogleCast' from project 'GoogleCast')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
** BUILD FAILED **
BUILD FAILURE 5.9 watchOS