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, reference main (03d82c), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 4 Nov 2024 11:34:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SpeziMedication -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMedication.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziMedication
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziMedication.git
Command line invocation:
    /Applications/Xcode-16.1.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/StanfordSpezi/SpeziViews
Fetching from https://github.com/StanfordSpezi/Spezi.git
Fetching from https://github.com/apple/swift-collections.git
Fetching from https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching from https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching from https://github.com/apple/swift-atomics.git
Creating working copy of package ‘XCTRuntimeAssertions’
Checking out 1.1.3 of package ‘XCTRuntimeAssertions’
Creating working copy of package ‘SpeziFoundation’
Checking out 2.0.0 of package ‘SpeziFoundation’
Creating working copy of package ‘SpeziViews’
Checking out 1.7.0 of package ‘SpeziViews’
Creating working copy of package ‘swift-collections’
Checking out 1.1.4 of package ‘swift-collections’
Creating working copy of package ‘Spezi’
Checking out 1.8.0 of package ‘Spezi’
Creating working copy of package ‘swift-atomics’
Checking out 1.2.0 of package ‘swift-atomics’
Resolve Package Graph
Resolved source packages:
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  XCTRuntimeAssertions: https://github.com/StanfordBDHG/XCTRuntimeAssertions.git @ 1.1.3
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  SpeziViews: https://github.com/StanfordSpezi/SpeziViews @ 1.7.0
  SpeziMedication: /Users/admin/builder/spi-builder-workspace
  SpeziFoundation: https://github.com/StanfordSpezi/SpeziFoundation.git @ 2.0.0
  Spezi: https://github.com/StanfordSpezi/Spezi.git @ 1.8.0
resolved source packages: swift-collections, XCTRuntimeAssertions, swift-atomics, SpeziViews, SpeziMedication, SpeziFoundation, Spezi
{
  "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/admin/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/admin/builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings.license",
          "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"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SpeziMedication -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.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 SpeziMedication -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  SpeziMedication: /Users/admin/builder/spi-builder-workspace
  SpeziFoundation: https://github.com/StanfordSpezi/SpeziFoundation.git @ 2.0.0
  XCTRuntimeAssertions: https://github.com/StanfordBDHG/XCTRuntimeAssertions.git @ 1.1.3
  Spezi: https://github.com/StanfordSpezi/Spezi.git @ 1.8.0
  SpeziViews: https://github.com/StanfordSpezi/SpeziViews @ 1.7.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (19 targets)
    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'
        ➜ Explicit dependency on target 'Spezi' in project 'Spezi'
    Target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews_SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'Spezi' in project 'Spezi'
    Target 'Spezi' in project 'Spezi'
        ➜ Explicit dependency on target 'Spezi' in project 'Spezi'
        ➜ Explicit dependency on target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
    Target 'Spezi' in project 'Spezi'
        ➜ Explicit dependency on target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
    Target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
    Target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
    Target 'InternalCollectionsUtilities' in project 'swift-collections' (no dependencies)
    Target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
        ➜ Explicit dependency on target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
    Target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions' (no dependencies)
    Target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'SpeziFoundation_SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'SpeziFoundation_SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target '_AtomicsShims' in project 'swift-atomics' (no dependencies)
    Target 'SpeziFoundation_SpeziFoundation' in project 'SpeziFoundation' (no dependencies)
    Target 'SpeziViews_SpeziViews' in project 'SpeziViews' (no dependencies)
    Target 'SpeziMedication_SpeziMedication' in project 'SpeziMedication' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcstringstool compile --dry-run --output-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SpeziViews.build/Debug/SpeziViews_SpeziViews.build /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcstringstool compile --dry-run --output-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SpeziMedication.build/Debug/SpeziMedication_SpeziMedication.build /Users/admin/builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcstringstool compile --dry-run --output-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SpeziFoundation.build/Debug/SpeziFoundation_SpeziFoundation.build /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SpeziFoundation/Sources/SpeziFoundation/Resources/Localizable.xcstrings
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: c84fa297e8d5a9ad7e06f9d254e44b84
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c84fa297e8d5a9ad7e06f9d254e44b84.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')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SpeziMedication
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.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 SpeziMedication -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  XCTRuntimeAssertions: https://github.com/StanfordBDHG/XCTRuntimeAssertions.git @ 1.1.3
  SpeziFoundation: https://github.com/StanfordSpezi/SpeziFoundation.git @ 2.0.0
  SpeziViews: https://github.com/StanfordSpezi/SpeziViews @ 1.7.0
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  Spezi: https://github.com/StanfordSpezi/Spezi.git @ 1.8.0
  SpeziMedication: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (19 targets)
    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'
        ➜ Explicit dependency on target 'Spezi' in project 'Spezi'
    Target 'SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'SpeziViews_SpeziViews' in project 'SpeziViews'
        ➜ Explicit dependency on target 'Spezi' in project 'Spezi'
    Target 'Spezi' in project 'Spezi'
        ➜ Explicit dependency on target 'Spezi' in project 'Spezi'
        ➜ Explicit dependency on target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
    Target 'Spezi' in project 'Spezi'
        ➜ Explicit dependency on target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
    Target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
    Target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
    Target 'InternalCollectionsUtilities' in project 'swift-collections' (no dependencies)
    Target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
        ➜ Explicit dependency on target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions'
    Target 'XCTRuntimeAssertions' in project 'XCTRuntimeAssertions' (no dependencies)
    Target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'SpeziFoundation_SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'SpeziFoundation_SpeziFoundation' in project 'SpeziFoundation'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target '_AtomicsShims' in project 'swift-atomics' (no dependencies)
    Target 'SpeziFoundation_SpeziFoundation' in project 'SpeziFoundation' (no dependencies)
    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 10.13 (in target 'SpeziMedication' from project 'SpeziMedication')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SpeziMedication
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild