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 0.1.0 (0f8aef), with Swift 5.9 for macOS (Xcode) using Xcode 15.2 on 29 Jan 2025 13:29:38 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 platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SRGSSR/castor.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SRGSSR/castor
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 0f8aef5 Improve Info.plist (#5)
Cloned https://github.com/SRGSSR/castor.git
Revision (git rev-parse @):
0f8aef5d47826992dffb44eb95361b709ef53777
SUCCESS checkout https://github.com/SRGSSR/castor.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosXcodebuild
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:
  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" : "PackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "PackageInfoPlugin",
      "path" : "Plugins/PackageInfoPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "PackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "PackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "PackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CastorTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "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" : [
        "Castor.swift"
      ],
      "target_dependencies" : [
        "PackageInfoPlugin"
      ],
      "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 platform=macOS,arch=arm64
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 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
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 “PackageInfoPlugin” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/PackageInfoPlugin
[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: 63572b0313279bc0c752d51d1373277a6e3b5803056ff1af15e8df17b5fe2796
Apply build tool plug-in “PackageInfoPlugin” 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/PackageInfoPlugin\")
)
" /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/PackageInfoPlugin
Process build tool plug-in results
package: <IDESwiftPackageCore.IDESwiftPackage:0x10c7d7d30 path:'/Users/admin/builder/spi-builder-workspace'>
    target: Castor
        prebuildCommandOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/PackageInfoPlugin/PackageInfo.swift"]
        buildCommands: []
        allDerivedOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/PackageInfoPlugin/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 'PackageInfoPlugin' 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 'PackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'GoogleCast' in project 'GoogleCast' (no dependencies)
    Target 'PackageInfoPlugin' in project 'Castor' (no dependencies)
    Target 'Castor_Castor' in project 'Castor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 39aea9edf36a556530a0f0b5fbd6f22c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/39aea9edf36a556530a0f0b5fbd6f22c.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for macOS, 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 macOS, 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 macOS, 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 macOS, 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
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE }
** 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" : "PackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "PackageInfoPlugin",
      "path" : "Plugins/PackageInfoPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "PackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "PackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "PackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CastorTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "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" : [
        "Castor.swift"
      ],
      "target_dependencies" : [
        "PackageInfoPlugin"
      ],
      "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 platform=macOS,arch=arm64
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 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
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 “PackageInfoPlugin” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/PackageInfoPlugin
[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: 63572b0313279bc0c752d51d1373277a6e3b5803056ff1af15e8df17b5fe2796
Apply build tool plug-in “PackageInfoPlugin” 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/PackageInfoPlugin\")
)
" /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/PackageInfoPlugin
Process build tool plug-in results
package: <IDESwiftPackageCore.IDESwiftPackage:0x10b43ca80 path:'/Users/admin/builder/spi-builder-workspace'>
    target: Castor
        prebuildCommandOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/PackageInfoPlugin/PackageInfo.swift"]
        buildCommands: []
        allDerivedOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/PackageInfoPlugin/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 'PackageInfoPlugin' 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 'PackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'GoogleCast' in project 'GoogleCast' (no dependencies)
    Target 'PackageInfoPlugin' in project 'Castor' (no dependencies)
    Target 'Castor_Castor' in project 'Castor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 39aea9edf36a556530a0f0b5fbd6f22c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/39aea9edf36a556530a0f0b5fbd6f22c.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for macOS, 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 macOS, 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 macOS, 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 macOS, 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')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE }
** BUILD FAILED **
BUILD FAILURE 5.9 macosXcodebuild