The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Shift, reference 0.11.0 (bfcfcb), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 16:28:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vinhnx/Shift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-1EA4D86E10B52AF.txt
[4/5] Compiling _NumericsShims _NumericsShims.c
[6/15] Compiling RealModule Float80+Real.swift
[7/15] Compiling RealModule ElementaryFunctions.swift
[8/15] Compiling RealModule Real.swift
[9/16] Compiling RealModule Float16+Real.swift
[10/16] Compiling RealModule Float+Real.swift
[11/16] Compiling RealModule ApproximateEquality.swift
[12/16] Compiling RealModule Double+Real.swift
[13/16] Compiling RealModule AlgebraicField.swift
[14/16] Emitting module RealModule
[15/16] Compiling RealModule AugmentedArithmetic.swift
[16/16] Compiling RealModule RealFunctions.swift
[17/42] Compiling Algorithms EitherSequence.swift
[18/42] Compiling Algorithms FirstNonNil.swift
[19/42] Compiling Algorithms FlattenCollection.swift
[20/44] Compiling Algorithms Split.swift
[21/44] Compiling Algorithms Stride.swift
[22/44] Compiling Algorithms RandomSample.swift
[23/44] Compiling Algorithms Reductions.swift
[24/44] Compiling Algorithms Rotate.swift
[25/44] Compiling Algorithms Combinations.swift
[26/44] Compiling Algorithms Compacted.swift
[27/44] Compiling Algorithms Cycle.swift
[28/44] Compiling Algorithms Grouped.swift
[29/44] Compiling Algorithms Indexed.swift
[30/44] Compiling Algorithms Intersperse.swift
[31/44] Compiling Algorithms Suffix.swift
[32/44] Compiling Algorithms Trim.swift
[33/44] Compiling Algorithms Joined.swift
[34/44] Compiling Algorithms Keyed.swift
[35/44] Compiling Algorithms MinMax.swift
[36/44] Compiling Algorithms Partition.swift
[37/44] Compiling Algorithms Permutations.swift
[38/44] Compiling Algorithms Product.swift
[39/44] Compiling Algorithms Unique.swift
[40/44] Compiling Algorithms Windows.swift
[41/44] Compiling Algorithms AdjacentPairs.swift
[42/44] Compiling Algorithms Chain.swift
[43/44] Compiling Algorithms Chunked.swift
[44/44] Emitting module Algorithms
[45/46] Emitting module Shift
[46/46] 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)
Fetching https://github.com/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (1.08s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.58s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.00s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.48s)
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.0.3
BUILD FAILURE 6.2 macosSpm