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 WindowKit, reference main (d9a7d0), with Swift 5.9 for macOS (Xcode) using Xcode 15.2 on 5 Sep 2024 19:18:45 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WindowKit -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/divadretlaw/WindowKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/divadretlaw/WindowKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d9a7d0f Delay DynamicWindowKey Update
Cloned https://github.com/divadretlaw/WindowKit.git
Revision (git rev-parse @):
d9a7d0fffaf1ddf390f88f5a0d1cd970df8d0309
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/divadretlaw/WindowKit.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.9
Building package at path:  $PWD
https://github.com/divadretlaw/WindowKit.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/divadretlaw/WindowSceneReader
Fetching from https://github.com/divadretlaw/WindowReader
Creating working copy of package ‘WindowSceneReader’
Checking out 3.1.2 of package ‘WindowSceneReader’
Creating working copy of package ‘WindowReader’
Checking out 2.0.1 of package ‘WindowReader’
Resolve Package Graph
Resolved source packages:
  WindowKit: /Users/admin/builder/spi-builder-workspace
  WindowSceneReader: https://github.com/divadretlaw/WindowSceneReader @ 3.1.2
  WindowReader: https://github.com/divadretlaw/WindowReader @ 2.0.1
resolved source packages: WindowKit, WindowSceneReader, WindowReader
{
  "dependencies" : [
    {
      "identity" : "windowscenereader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.2",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/divadretlaw/WindowSceneReader"
    }
  ],
  "manifest_display_name" : "WindowKit",
  "name" : "WindowKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "WindowKit",
      "targets" : [
        "WindowKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WindowKit",
      "module_type" : "SwiftTarget",
      "name" : "WindowKit",
      "path" : "Sources/WindowKit",
      "product_dependencies" : [
        "WindowSceneReader"
      ],
      "product_memberships" : [
        "WindowKit"
      ],
      "sources" : [
        "API.swift",
        "DynamicWindowKey.swift",
        "Environment/EnvironmentValuesHolder.swift",
        "Environment/WindowCoverDismissAction.swift",
        "Extensions/MainActor+Extensions.swift",
        "Extensions/UIViewController+Extensions.swift",
        "Logger.swift",
        "ViewModifier/TintApplier.swift",
        "WindowCover/WindowCover.swift",
        "WindowCover/WindowCoverConfiguration.swift",
        "WindowCover/WindowCoverHelper.swift",
        "WindowCover/WindowCoverHostingController.swift",
        "WindowCover/WindowItemCover.swift",
        "WindowCover/WindowItemCoverHelper.swift",
        "WindowKey.swift",
        "WindowManager.swift",
        "WindowOverlay/PassthroughWindow.swift",
        "WindowOverlay/WindowOverlay.swift",
        "WindowOverlay/WindowOverlayConfiguration.swift",
        "WindowOverlay/WindowOverlayHelper.swift",
        "WindowOverlay/WindowOverlayHostingController.swift",
        "WindowView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "WindowKit"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WindowKit -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 WindowKit -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
Resolve Package Graph
Resolved source packages:
  WindowSceneReader: https://github.com/divadretlaw/WindowSceneReader @ 3.1.2
  WindowKit: /Users/admin/builder/spi-builder-workspace
  WindowReader: https://github.com/divadretlaw/WindowReader @ 2.0.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'WindowKit' in project 'WindowKit'
        ➜ Explicit dependency on target 'WindowKit' in project 'WindowKit'
        ➜ Explicit dependency on target 'WindowSceneReader' in project 'WindowSceneReader'
    Target 'WindowKit' in project 'WindowKit'
        ➜ Explicit dependency on target 'WindowSceneReader' in project 'WindowSceneReader'
    Target 'WindowSceneReader' in project 'WindowSceneReader'
        ➜ Explicit dependency on target 'WindowSceneReader' in project 'WindowSceneReader'
        ➜ Explicit dependency on target 'WindowReader' in project 'WindowReader'
    Target 'WindowSceneReader' in project 'WindowSceneReader'
        ➜ Explicit dependency on target 'WindowReader' in project 'WindowReader'
    Target 'WindowReader' in project 'WindowReader'
        ➜ Explicit dependency on target 'WindowReader' in project 'WindowReader'
    Target 'WindowReader' in project 'WindowReader' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 3a1fe3ef0f7358cafb16248fcbab80cd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3a1fe3ef0f7358cafb16248fcbab80cd.xcbuilddata
error: The package product 'WindowSceneReader' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.13 (in target 'WindowKit' from project 'WindowKit')
--- 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 -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme WindowKit -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:
  WindowKit: /Users/admin/builder/spi-builder-workspace
  WindowSceneReader: https://github.com/divadretlaw/WindowSceneReader @ 3.1.2
  WindowReader: https://github.com/divadretlaw/WindowReader @ 2.0.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'WindowKit' in project 'WindowKit'
        ➜ Explicit dependency on target 'WindowKit' in project 'WindowKit'
        ➜ Explicit dependency on target 'WindowSceneReader' in project 'WindowSceneReader'
    Target 'WindowKit' in project 'WindowKit'
        ➜ Explicit dependency on target 'WindowSceneReader' in project 'WindowSceneReader'
    Target 'WindowSceneReader' in project 'WindowSceneReader'
        ➜ Explicit dependency on target 'WindowSceneReader' in project 'WindowSceneReader'
        ➜ Explicit dependency on target 'WindowReader' in project 'WindowReader'
    Target 'WindowSceneReader' in project 'WindowSceneReader'
        ➜ Explicit dependency on target 'WindowReader' in project 'WindowReader'
    Target 'WindowReader' in project 'WindowReader'
        ➜ Explicit dependency on target 'WindowReader' in project 'WindowReader'
    Target 'WindowReader' in project 'WindowReader' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 3a1fe3ef0f7358cafb16248fcbab80cd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3a1fe3ef0f7358cafb16248fcbab80cd.xcbuilddata
error: The package product 'WindowSceneReader' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.13 (in target 'WindowKit' from project 'WindowKit')
--- 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