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 ApricotNavigation, reference main (22005a), with Swift 6.0 for macOS (SPM) on 18 Sep 2024 09:09:14 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/ApricotNavigation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Livsy90/ApricotNavigation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 22005ad Initial Commit
Cloned https://github.com/Livsy90/ApricotNavigation.git
Revision (git rev-parse @):
22005ad8225519210edc720fad711c428e1c73fa
SUCCESS checkout https://github.com/Livsy90/ApricotNavigation.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Livsy90/ApricotNavigation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module ApricotNavigation
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:4:33: error: 'Identifiable' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class AnyIdentifiable: Identifiable {
   |              `- note: add @available attribute to enclosing class
 4 |     public let destination: any Identifiable
   |                                 `- error: 'Identifiable' is only available in macOS 10.15 or newer
 5 |
 6 |     public init(destination: any Identifiable) {
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:6:34: error: 'Identifiable' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class AnyIdentifiable: Identifiable {
   |              `- note: add @available attribute to enclosing class
 4 |     public let destination: any Identifiable
 5 |
 6 |     public init(destination: any Identifiable) {
   |            |                     `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
 7 |         self.destination = destination
 8 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
 2 | import Observation
 3 |
 4 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 5 | public final class Router {
 6 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:5: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
 2 | import Observation
 3 |
 4 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:5: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
12 |         )
13 |     }
14 |     private var presentedSheetItem: AnyIdentifiable?
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
15 |
16 |     public init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:38:1: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
36 |     }
37 |
38 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<Member>(
   +--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored private  var _navigationPath  = NavigationPath()
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:53: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
12 |         )
13 |     }
14 |     private var presentedSheetItem: AnyIdentifiable?
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored private  var _presentedSheetItem: AnyIdentifiable?
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
15 |
16 |     public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:33: error: 'NavigationPath' is only available in macOS 13.0 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   |                |                `- error: 'NavigationPath' is only available in macOS 13.0 or newer
   |                `- note: add @available attribute to enclosing property
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
macro expansion @ObservationTracked:1:53: error: 'NavigationPath' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored private  var _navigationPath  = NavigationPath()
   |  |                                                     `- error: 'NavigationPath' is only available in macOS 13.0 or newer
   +--------------------------------------------------------------------
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:27: error: 'Binding' is only available in macOS 10.15 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
   |                |          `- error: 'Binding' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
 9 |         Binding(
10 |             get: { self.presentedSheetItem },
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:47: error: 'Identifiable' is only available in macOS 10.15 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
16 |     public init() {}
17 |
18 |     public func presentSheet(destination: any Identifiable) {
   |                 |                             `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
19 |         presentedSheetItem = AnyIdentifiable(destination: destination)
20 |     }
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:38:1: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
36 |     }
37 |
38 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<Member>(
   +--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
 2 | import Observation
 3 |
 4 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
[4/5] Compiling ApricotNavigation AnyIdentifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:4:33: error: 'Identifiable' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class AnyIdentifiable: Identifiable {
   |              `- note: add @available attribute to enclosing class
 4 |     public let destination: any Identifiable
   |                                 `- error: 'Identifiable' is only available in macOS 10.15 or newer
 5 |
 6 |     public init(destination: any Identifiable) {
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:6:34: error: 'Identifiable' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class AnyIdentifiable: Identifiable {
   |              `- note: add @available attribute to enclosing class
 4 |     public let destination: any Identifiable
 5 |
 6 |     public init(destination: any Identifiable) {
   |            |                     `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
 7 |         self.destination = destination
 8 |     }
[5/5] Compiling ApricotNavigation Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
 2 | import Observation
 3 |
 4 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 5 | public final class Router {
 6 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:5: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
 2 | import Observation
 3 |
 4 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:5: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
12 |         )
13 |     }
14 |     private var presentedSheetItem: AnyIdentifiable?
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
15 |
16 |     public init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:38:1: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
36 |     }
37 |
38 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<Member>(
   +--------------------------------------------------------------------
39 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored private  var _navigationPath  = NavigationPath()
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:53: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
12 |         )
13 |     }
14 |     private var presentedSheetItem: AnyIdentifiable?
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored private  var _presentedSheetItem: AnyIdentifiable?
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
15 |
16 |     public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:33: error: 'NavigationPath' is only available in macOS 13.0 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   |                |                `- error: 'NavigationPath' is only available in macOS 13.0 or newer
   |                `- note: add @available attribute to enclosing property
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
macro expansion @ObservationTracked:1:53: error: 'NavigationPath' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored private  var _navigationPath  = NavigationPath()
   |  |                                                     `- error: 'NavigationPath' is only available in macOS 13.0 or newer
   +--------------------------------------------------------------------
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:27: error: 'Binding' is only available in macOS 10.15 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
   |                |          `- error: 'Binding' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
 9 |         Binding(
10 |             get: { self.presentedSheetItem },
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:47: error: 'Identifiable' is only available in macOS 10.15 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
16 |     public init() {}
17 |
18 |     public func presentSheet(destination: any Identifiable) {
   |                 |                             `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
19 |         presentedSheetItem = AnyIdentifiable(destination: destination)
20 |     }
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:38:1: note: expanded code originates here
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
36 |     }
37 |
38 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<Member>(
   +--------------------------------------------------------------------
39 |
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
 2 | import Observation
 3 |
 4 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:9:9: error: 'Binding' is only available in macOS 10.15 or newer
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: add @available attribute to enclosing class
 6 |
 7 |     public var navigationPath = NavigationPath()
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
   |                `- note: add @available attribute to enclosing property
 9 |         Binding(
   |         |- error: 'Binding' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
10 |             get: { self.presentedSheetItem },
11 |             set: { self.presentedSheetItem = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:10:20: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: class 'Router' does not conform to the 'Sendable' protocol
 6 |
 7 |     public var navigationPath = NavigationPath()
 8 |     public var sheetItem: Binding<AnyIdentifiable?> {
 9 |         Binding(
10 |             get: { self.presentedSheetItem },
   |                    `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |             set: { self.presentedSheetItem = $0 }
12 |         )
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:11:20: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 3 |
 4 | @Observable
 5 | public final class Router {
   |                    `- note: class 'Router' does not conform to the 'Sendable' protocol
 6 |
 7 |     public var navigationPath = NavigationPath()
   :
 9 |         Binding(
10 |             get: { self.presentedSheetItem },
11 |             set: { self.presentedSheetItem = $0 }
   |                    `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |         )
13 |     }
BUILD FAILURE 6.0 macosSpm