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 0.4.1 (03d82c), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 11:33:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -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: 0.4.1
Initialized empty Git repository in /Users/admin/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: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at 0.4.1
Fetching https://github.com/StanfordSpezi/SpeziViews
[1/2485] Fetching speziviews
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (1.32s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.7.0 (3.29s)
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/apple/swift-collections.git
[1/8926] Fetching spezi
[1162/24401] Fetching spezi, swift-collections
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (2.10s)
Fetched https://github.com/apple/swift-collections.git from cache (2.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.80s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.0 (0.69s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/460] Fetching spezifoundation
[24/834] Fetching spezifoundation, xctruntimeassertions
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.87s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.87s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.0.0 (0.68s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.07s)
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/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (0.69s)
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.7.0
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/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.0.0
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/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "spezimedication",
      "name": "SpeziMedication",
      "url": "https://github.com/StanfordSpezi/SpeziMedication.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziMedication",
      "dependencies": [
        {
          "identity": "speziviews",
          "name": "SpeziViews",
          "url": "https://github.com/StanfordSpezi/SpeziViews",
          "version": "1.7.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziViews",
          "dependencies": [
            {
              "identity": "spezi",
              "name": "Spezi",
              "url": "https://github.com/StanfordSpezi/Spezi.git",
              "version": "1.8.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spezi",
              "dependencies": [
                {
                  "identity": "spezifoundation",
                  "name": "SpeziFoundation",
                  "url": "https://github.com/StanfordSpezi/SpeziFoundation.git",
                  "version": "2.0.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziFoundation",
                  "dependencies": [
                    {
                      "identity": "swift-atomics",
                      "name": "swift-atomics",
                      "url": "https://github.com/apple/swift-atomics.git",
                      "version": "1.2.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "xctruntimeassertions",
                  "name": "XCTRuntimeAssertions",
                  "url": "https://github.com/StanfordBDHG/XCTRuntimeAssertions.git",
                  "version": "1.1.3",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTRuntimeAssertions",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/StanfordSpezi/SpeziMedication.git
[9/847] Fetching spezimedication
Fetched https://github.com/StanfordSpezi/SpeziMedication.git from cache (1.07s)
Fetching https://github.com/StanfordSpezi/SpeziViews from cache
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.49s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.7.0 (0.04s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/StanfordSpezi/Spezi.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.0 (0.03s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git from cache
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.49s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.49s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (0.02s)
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.7.0
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/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.0.0
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/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/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.0
Creating working copy for https://github.com/StanfordSpezi/SpeziMedication.git
Working copy of https://github.com/StanfordSpezi/SpeziMedication.git resolved at 0.4.1 (03d82c2)
warning: '.resolve-product-dependencies': dependency 'spezimedication' is not used by any target
Found 1 product dependencies
  - SpeziViews
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziMedication.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
warning: 'speziviews': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings.license
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings
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.0 macosSpm