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 (8c160a), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 20:33:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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 8c160af Enable Swift 6 Language Mode (#14)
Cloned https://github.com/StanfordSpezi/SpeziMedication.git
Revision (git rev-parse @):
8c160afbeb20fea296947cbf9255fe1dfefaf33c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziMedication.git
https://github.com/StanfordSpezi/SpeziMedication.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "speziviews",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziViews.git"
    }
  ],
  "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" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Fetching https://github.com/StanfordSpezi/SpeziViews.git
[1/3236] Fetching speziviews
Fetched https://github.com/StanfordSpezi/SpeziViews.git from cache (1.17s)
Computing version for https://github.com/StanfordSpezi/SpeziViews.git
Computed https://github.com/StanfordSpezi/SpeziViews.git at 1.10.1 (1.85s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/apple/swift-collections.git from cache
[1/9122] Fetching spezi
[6661/9892] Fetching spezi, spezifoundation
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.14s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (1.14s)
Fetched https://github.com/apple/swift-collections.git from cache (1.16s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.1 (1.82s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[6/534] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.66s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.5 (1.31s)
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.47s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.58s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.26s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.1
Creating working copy for https://github.com/StanfordSpezi/SpeziViews.git
Working copy of https://github.com/StanfordSpezi/SpeziViews.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.5
error: the library 'SpeziMedication' requires macos 10.13, but depends on the product 'SpeziViews' which requires macos 14.0; consider changing the library 'SpeziMedication' to require macos 14.0 or later, or the product 'SpeziViews' to require macos 10.13 or earlier.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: the library 'SpeziMedication' requires macos 10.13, but depends on the product 'SpeziViews' which requires macos 14.0; consider changing the library 'SpeziMedication' to require macos 14.0 or later, or the product 'SpeziViews' to require macos 10.13 or earlier.
BUILD FAILURE 6.1 macosSpm