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 SpeziMedication with Swift 5.9 for macOS (Xcode) using Xcode 15.2.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMedication.git
Reference: 0.4.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziMedication
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 03d82c2 Fixing decoding times if times was never encoded error (#12)
Cloned https://github.com/StanfordSpezi/SpeziMedication.git
Revision (git rev-parse @):
03d82c275be588970eda4d5ab335609a8260014b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at 0.4.1
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.9
Building package at path:  $workDir
https://github.com/StanfordSpezi/SpeziMedication.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/StanfordSpezi/SpeziViews (cached)
Fetching from https://github.com/apple/swift-collections.git (cached)
Creating working copy of package ‘swift-collections’
Checking out 1.1.0 of package ‘swift-collections’
Creating working copy of package ‘SpeziViews’
Checking out 1.3.1 of package ‘SpeziViews’
Resolve Package Graph
Resolved source packages:
  SpeziMedication: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
  SpeziViews: https://github.com/StanfordSpezi/SpeziViews @ 1.3.1
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.0
resolved source packages: SpeziMedication, SpeziViews, swift-collections
objc[61038]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10e8080e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x1105980e0). One of the two will be used. Which one is undefined.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "speziviews",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziViews"
    }
  ],
  "manifest_display_name" : "SpeziMedication",
  "name" : "SpeziMedication",
  "path" : "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SpeziMedication",
      "targets" : [
        "SpeziMedication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpeziMedicationTests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziMedicationTests",
      "path" : "Tests/SpeziMedicationTests",
      "sources" : [
        "SpeziMedicationTests.swift"
      ],
      "target_dependencies" : [
        "SpeziMedication"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeziMedication",
      "module_type" : "SwiftTarget",
      "name" : "SpeziMedication",
      "path" : "Sources/SpeziMedication",
      "product_dependencies" : [
        "SpeziViews"
      ],
      "product_memberships" : [
        "SpeziMedication"
      ],
      "resources" : [
        {
          "path" : "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Extensions/String+LocalizedError.swift",
        "Extensions/UIDatePicker+SwiftUI.swift",
        "InternalMedicationSettingsViewModel.swift",
        "MedicationList.swift",
        "MedicationSettings.swift",
        "MedicationSettingsViewModel.swift",
        "Models/Dosage.swift",
        "Models/Frequency.swift",
        "Models/Medication.swift",
        "Models/MedicationInstance.swift",
        "Models/MedicationInstanceInitializable.swift",
        "Models/Schedule.swift",
        "Models/ScheduledTime.swift",
        "Models/Weekdays.swift",
        "ModifyMedication/AddMedication.swift",
        "ModifyMedication/AddMedicationDosage.swift",
        "ModifyMedication/AddMedicationSchedule.swift",
        "ModifyMedication/EditDosage.swift",
        "ModifyMedication/EditFrequency.swift",
        "ModifyMedication/EditMedication.swift",
        "ModifyMedication/EditScheduleTime.swift",
        "ModifyMedication/EditScheduleTimeRow.swift",
        "ModifyMedication/ScheduleFrequency.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SpeziMedication"
    ]
  }
}
objc[61230]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10b5bc0e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10c87c0e0). One of the two will be used. Which one is undefined.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme SpeziMedication -destination platform=macos,arch=arm64
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme SpeziMedication -destination platform=macos,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.0
  SpeziViews: https://github.com/StanfordSpezi/SpeziViews @ 1.3.1
  SpeziMedication: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'SpeziMedicationTests' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
    Target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
    Target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
    Target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews_SpeziViews' in project 'SpeziViews'
    Target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews_SpeziViews' in project 'SpeziViews'
    Target 'SpeziViews_SpeziViews' in project 'SpeziViews' (no dependencies)
    Target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: c0a2493166047ae29368fb3aee946181
Build description path: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c0a2493166047ae29368fb3aee946181.xcbuilddata
error: The package product 'SpeziViews' requires minimum platform version 14.0 for the macOS platform, but this target supports 10.13 (in target 'SpeziMedication' from project 'SpeziMedication')
error: The package product 'SpeziViews' requires minimum platform version 14.0 for the macOS platform, but this target supports 13.0 (in target 'SpeziMedicationTests' from project 'SpeziMedication')
Resolve Package Graph
objc[61253]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x110b540e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x110ef40e0). One of the two will be used. Which one is undefined.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-001A103E26D2001E }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:00008103-001A103E26D2001E }
{ platform:macOS, arch:arm64, variant:DriverKit, id:00008103-001A103E26D2001E }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-001A103E26D2001E }
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme SpeziMedication -destination platform=macos,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.0
  SpeziViews: https://github.com/StanfordSpezi/SpeziViews @ 1.3.1
  SpeziMedication: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'SpeziMedicationTests' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
    Target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
    Target 'SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
    Target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews_SpeziViews' in project 'SpeziViews'
    Target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews_SpeziViews' in project 'SpeziViews'
    Target 'SpeziViews_SpeziViews' in project 'SpeziViews' (no dependencies)
    Target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SpeziViews' requires minimum platform version 14.0 for the macOS platform, but this target supports 13.0 (in target 'SpeziMedicationTests' from project 'SpeziMedication')
error: The package product 'SpeziViews' requires minimum platform version 14.0 for the macOS platform, but this target supports 10.13 (in target 'SpeziMedication' from project 'SpeziMedication')
objc[61278]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x1095d00e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10bf800e0). One of the two will be used. Which one is undefined.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-001A103E26D2001E }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:00008103-001A103E26D2001E }
{ platform:macOS, arch:arm64, variant:DriverKit, id:00008103-001A103E26D2001E }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-001A103E26D2001E }
** BUILD FAILED **
BUILD FAILURE 5.9 macosXcodebuild