The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shift, reference 0.11.0 (bfcfcb), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 00:12:10 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vinhnx/Shift.git
Reference: 0.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vinhnx/Shift
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at bfcfcb6 More proper way to handle Event Kit request handler with concurrency
Cloned https://github.com/vinhnx/Shift.git
Revision (git rev-parse @):
bfcfcb6368925a1f4862725691db310ad1637f06
SUCCESS checkout https://github.com/vinhnx/Shift.git at 0.11.0
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
[194/12474] Fetching swift-numerics, swift-algorithms
Fetched https://github.com/apple/swift-numerics from cache (1.01s)
Fetched https://github.com/apple/swift-algorithms from cache (1.01s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (1.70s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.67s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "shift",
      "name": "Shift",
      "url": "https://github.com/vinhnx/Shift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Shift",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-algorithms",
          "name": "swift-algorithms",
          "url": "https://github.com/apple/swift-algorithms",
          "version": "1.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-numerics",
              "name": "swift-numerics",
              "url": "https://github.com/apple/swift-numerics.git",
              "version": "1.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vinhnx/Shift.git
[1/498] Fetching shift
Fetched https://github.com/vinhnx/Shift.git from cache (0.80s)
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms from cache (0.46s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.13s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.05s)
Creating working copy for https://github.com/vinhnx/Shift.git
Working copy of https://github.com/vinhnx/Shift.git resolved at 0.11.0 (bfcfcb6)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
warning: '.resolve-product-dependencies': dependency 'shift' is not used by any target
Found 1 product dependencies
  - swift-algorithms
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/vinhnx/Shift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version--6988338F2F200930.txt
[6/15] Compiling RealModule Real.swift
[7/16] Compiling RealModule Float+Real.swift
[8/16] Compiling RealModule Float80+Real.swift
[9/16] Compiling RealModule Double+Real.swift
[10/16] Compiling RealModule ElementaryFunctions.swift
[11/16] Compiling RealModule AlgebraicField.swift
[12/16] Emitting module RealModule
[13/16] Compiling RealModule ApproximateEquality.swift
[14/16] Compiling RealModule Float16+Real.swift
[15/16] Compiling RealModule AugmentedArithmetic.swift
[16/16] Compiling RealModule RealFunctions.swift
[17/40] Compiling Algorithms Reductions.swift
[18/40] Compiling Algorithms Rotate.swift
[19/40] Compiling Algorithms EitherSequence.swift
[20/40] Compiling Algorithms FirstNonNil.swift
[21/40] Compiling Algorithms FlattenCollection.swift
[22/42] Compiling Algorithms Combinations.swift
[23/42] Compiling Algorithms Compacted.swift
[24/42] Compiling Algorithms Cycle.swift
[25/42] Compiling Algorithms Split.swift
[26/42] Compiling Algorithms Stride.swift
[27/42] Compiling Algorithms Product.swift
[28/42] Compiling Algorithms RandomSample.swift
[29/42] Compiling Algorithms AdjacentPairs.swift
[30/42] Compiling Algorithms Chain.swift
[31/42] Compiling Algorithms Chunked.swift
[32/42] Compiling Algorithms Unique.swift
[33/42] Compiling Algorithms Windows.swift
[34/42] Compiling Algorithms Suffix.swift
[35/42] Compiling Algorithms Trim.swift
[36/42] Compiling Algorithms MinMax.swift
[37/42] Compiling Algorithms Partition.swift
[38/42] Compiling Algorithms Permutations.swift
[39/42] Compiling Algorithms Indexed.swift
[40/42] Compiling Algorithms Intersperse.swift
[41/42] Compiling Algorithms Joined.swift
[42/42] Emitting module Algorithms
[43/44] Emitting module Shift
[44/44] Compiling Shift Shift.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shift/Shift.swift:240:71: warning: converting non-Sendable function value to '@Sendable (Bool, (any Error)?) -> Void' may introduce data races
238 |
239 |             if #available(iOS 17.0, *) {
240 |                 self.eventStore.requestFullAccessToEvents(completion: completion)
    |                                                                       `- warning: converting non-Sendable function value to '@Sendable (Bool, (any Error)?) -> Void' may introduce data races
241 |             } else {
242 |                 self.eventStore.requestAccess(to: .event, completion: completion)
/Users/admin/builder/spi-builder-workspace/Sources/Shift/Shift.swift:242:71: warning: converting non-Sendable function value to '@Sendable (Bool, (any Error)?) -> Void' may introduce data races
240 |                 self.eventStore.requestFullAccessToEvents(completion: completion)
241 |             } else {
242 |                 self.eventStore.requestAccess(to: .event, completion: completion)
    |                                                                       `- warning: converting non-Sendable function value to '@Sendable (Bool, (any Error)?) -> Void' may introduce data races
243 |             }
244 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Shift/Shift.swift:240:33: error: 'requestFullAccessToEvents(completion:)' is only available in macOS 14.0 or newer
 35 |
 36 | /// Swift wrapper for EventKit
 37 | public final class Shift: ObservableObject {
    |                    `- note: add '@available' attribute to enclosing class
 38 |
 39 |     // MARK: - Properties
    :
226 |
227 |
228 |     private func requestCalendarAccess() async throws -> Bool {
    |                  `- note: add '@available' attribute to enclosing instance method
229 |         try await withCheckedThrowingContinuation { [weak self] continuation in
230 |             guard let self else { return }
    :
238 |
239 |             if #available(iOS 17.0, *) {
240 |                 self.eventStore.requestFullAccessToEvents(completion: completion)
    |                                 |- error: 'requestFullAccessToEvents(completion:)' is only available in macOS 14.0 or newer
    |                                 `- note: add 'if #available' version check
241 |             } else {
242 |                 self.eventStore.requestAccess(to: .event, completion: completion)
BUILD FAILURE 6.3 macosSpm