The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shift with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vinhnx/Shift.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/vinhnx/Shift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10ef7a6 Update README.md
Cloned https://github.com/vinhnx/Shift.git
Revision (git rev-parse @):
10ef7a6ddceed0b67c8d4b0355a24a83a1257b9f
SUCCESS checkout https://github.com/vinhnx/Shift.git at main
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms (0.41s)
Computing version for https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-numerics (0.41s)
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.09s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.08s)
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/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "shift",
      "name": "Shift",
      "url": "https://github.com/vinhnx/Shift.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Shift",
      "dependencies": [
        {
          "identity": "swift-algorithms",
          "name": "swift-algorithms",
          "url": "https://github.com/apple/swift-algorithms",
          "version": "1.2.0",
          "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
          "dependencies": [
            {
              "identity": "swift-numerics",
              "name": "swift-numerics",
              "url": "https://github.com/apple/swift-numerics.git",
              "version": "1.0.2",
              "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vinhnx/Shift.git
[1/493] Fetching shift
Fetched https://github.com/vinhnx/Shift.git (0.40s)
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms (0.33s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.09s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git (0.34s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.05s)
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.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
Creating working copy for https://github.com/vinhnx/Shift.git
Working copy of https://github.com/vinhnx/Shift.git resolved at main
warning: '.resolve-product-dependencies': dependency 'shift' is not used by any target
Found 1 product dependencies
  - swift-algorithms
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Compiling _NumericsShims _NumericsShims.c
[2/11] Compiling RealModule Real.swift
[3/12] Compiling RealModule Float80+Real.swift
[4/12] Compiling RealModule Float16+Real.swift
[5/12] Emitting module RealModule
[6/12] Compiling RealModule Float+Real.swift
[7/12] Compiling RealModule AlgebraicField.swift
[8/12] Compiling RealModule ApproximateEquality.swift
[9/12] Compiling RealModule ElementaryFunctions.swift
[10/12] Compiling RealModule AugmentedArithmetic.swift
[11/12] Compiling RealModule Double+Real.swift
[12/12] Compiling RealModule RealFunctions.swift
[13/35] Compiling Algorithms Partition.swift
[14/35] Compiling Algorithms Permutations.swift
[15/35] Compiling Algorithms Product.swift
[16/35] Compiling Algorithms FirstNonNil.swift
[17/35] Compiling Algorithms FlattenCollection.swift
[18/35] Compiling Algorithms Indexed.swift
[19/38] Compiling Algorithms AdjacentPairs.swift
[20/38] Compiling Algorithms Chain.swift
[21/38] Compiling Algorithms Chunked.swift
[22/38] Compiling Algorithms Combinations.swift
[23/38] Compiling Algorithms Trim.swift
[24/38] Compiling Algorithms Unique.swift
[25/38] Compiling Algorithms Windows.swift
[26/38] Compiling Algorithms Intersperse.swift
[27/38] Compiling Algorithms Joined.swift
[28/38] Compiling Algorithms MinMax.swift
[29/38] Compiling Algorithms Split.swift
[30/38] Compiling Algorithms Stride.swift
[31/38] Compiling Algorithms Suffix.swift
[32/38] Compiling Algorithms Compacted.swift
[33/38] Compiling Algorithms Cycle.swift
[34/38] Compiling Algorithms EitherSequence.swift
[35/38] Compiling Algorithms RandomSample.swift
[36/38] Compiling Algorithms Reductions.swift
[37/38] Compiling Algorithms Rotate.swift
[38/38] Emitting module Algorithms
[39/40] Emitting module Shift
[40/40] Compiling Shift Shift.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:240:33: error: 'requestFullAccessToEvents(completion:)' is only available in macOS 14.0 or newer
                self.eventStore.requestFullAccessToEvents(completion: completion)
                                ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:240:33: note: add 'if #available' version check
                self.eventStore.requestFullAccessToEvents(completion: completion)
                                ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:228:18: note: add @available attribute to enclosing instance method
    private func requestCalendarAccess() async throws -> Bool {
                 ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:37:20: note: add @available attribute to enclosing class
public final class Shift: ObservableObject {
                   ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/2] Emitting module Shift
[2/2] Compiling Shift Shift.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:240:33: error: 'requestFullAccessToEvents(completion:)' is only available in macOS 14.0 or newer
                self.eventStore.requestFullAccessToEvents(completion: completion)
                                ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:240:33: note: add 'if #available' version check
                self.eventStore.requestFullAccessToEvents(completion: completion)
                                ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:228:18: note: add @available attribute to enclosing instance method
    private func requestCalendarAccess() async throws -> Bool {
                 ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shift/Shift.swift:37:20: note: add @available attribute to enclosing class
public final class Shift: ObservableObject {
                   ^
error: fatalError
BUILD FAILURE 5.9 macosSpm