Build Information
Failed to build Shush, reference 1.1.5 (869603), with Swift 6.1 for macOS (SPM) on 24 Oct 2025 14:05:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dvkch/Shush.git
Reference: 1.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dvkch/Shush
* tag 1.1.5 -> FETCH_HEAD
HEAD is now at 8696030 Make some methods public
Cloned https://github.com/dvkch/Shush.git
Revision (git rev-parse @):
8696030ac4a37c0f43695131b4b6dba01d3aea8f
SUCCESS checkout https://github.com/dvkch/Shush.git at 1.1.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dvkch/Shush.git
https://github.com/dvkch/Shush.git
{
"dependencies" : [
],
"manifest_display_name" : "Shush",
"name" : "Shush",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Shush",
"targets" : [
"Shush"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ShushTests",
"module_type" : "SwiftTarget",
"name" : "ShushTests",
"path" : "Tests/ShushTests",
"sources" : [
"ShushTests.swift"
],
"target_dependencies" : [
"Shush"
],
"type" : "test"
},
{
"c99name" : "Shush",
"module_type" : "SwiftTarget",
"name" : "Shush",
"path" : "Sources/Shush",
"product_memberships" : [
"Shush"
],
"sources" : [
"Extensions/Array+Shush.swift",
"Extensions/CollectionDifference+Shush.swift",
"Extensions/NSMetadataItem+Shush.swift",
"Extensions/NSMetadataQuery+Shush.swift",
"Extensions/String+Shush.swift",
"Extensions/URL+Shush.swift",
"Helpers/Change.swift",
"Helpers/CoordinatedFileManager.swift",
"Helpers/StandardizedURL.swift",
"Helpers/UbiquitousContainerMonitor.swift",
"Protocols/Loggable.swift",
"Protocols/Persistable.swift",
"ShushDiagnostics.swift",
"ShushFile.swift",
"ShushFiles.swift",
"ShushValue.swift",
"ShushValues.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/19] Compiling Shush ShushValue.swift
[4/19] Compiling Shush StandardizedURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:90:33: error: 'difference(from:)' is only available in macOS 10.15 or newer
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
88 |
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
| |- error: 'difference(from:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | guard diff.isNotEmpty else { return }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:91:20: warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
91 | guard diff.isNotEmpty else { return }
| |- warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
92 |
93 | let changes = diff.changes
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:75:17: warning: capture of 'self' with non-sendable type 'UbiquityContainerMonitor' in a '@Sendable' closure
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: class 'UbiquityContainerMonitor' does not conform to the 'Sendable' protocol
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
75 | self.processChanges()
| `- warning: capture of 'self' with non-sendable type 'UbiquityContainerMonitor' in a '@Sendable' closure
76 | }
77 | return
[5/19] Compiling Shush UbiquitousContainerMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:90:33: error: 'difference(from:)' is only available in macOS 10.15 or newer
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
88 |
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
| |- error: 'difference(from:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | guard diff.isNotEmpty else { return }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:91:20: warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
91 | guard diff.isNotEmpty else { return }
| |- warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
92 |
93 | let changes = diff.changes
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:75:17: warning: capture of 'self' with non-sendable type 'UbiquityContainerMonitor' in a '@Sendable' closure
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: class 'UbiquityContainerMonitor' does not conform to the 'Sendable' protocol
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
75 | self.processChanges()
| `- warning: capture of 'self' with non-sendable type 'UbiquityContainerMonitor' in a '@Sendable' closure
76 | }
77 | return
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/20] Compiling Shush NSMetadataItem+Shush.swift
[7/20] Compiling Shush NSMetadataQuery+Shush.swift
[8/20] Compiling Shush Change.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/CoordinatedFileManager.swift:111:13: warning: capture of 'state' with non-sendable type 'CoordinatedFileManager.State' in a '@Sendable' closure
79 | }
80 |
81 | private class State {
| `- note: class 'State' does not conform to the 'Sendable' protocol
82 | init() {
83 | self.isReady = false
:
109 | coordinator.coordinate(with: intents, queue: queue) { coordError in
110 | coordinatorError = coordError
111 | state.isReady = true
| `- warning: capture of 'state' with non-sendable type 'CoordinatedFileManager.State' in a '@Sendable' closure
112 | while !state.isFinished { usleep(1000) }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/CoordinatedFileManager.swift:110:13: warning: mutation of captured var 'coordinatorError' in concurrently-executing code
108 |
109 | coordinator.coordinate(with: intents, queue: queue) { coordError in
110 | coordinatorError = coordError
| `- warning: mutation of captured var 'coordinatorError' in concurrently-executing code
111 | state.isReady = true
112 | while !state.isFinished { usleep(1000) }
[9/20] Compiling Shush CoordinatedFileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/CoordinatedFileManager.swift:111:13: warning: capture of 'state' with non-sendable type 'CoordinatedFileManager.State' in a '@Sendable' closure
79 | }
80 |
81 | private class State {
| `- note: class 'State' does not conform to the 'Sendable' protocol
82 | init() {
83 | self.isReady = false
:
109 | coordinator.coordinate(with: intents, queue: queue) { coordError in
110 | coordinatorError = coordError
111 | state.isReady = true
| `- warning: capture of 'state' with non-sendable type 'CoordinatedFileManager.State' in a '@Sendable' closure
112 | while !state.isFinished { usleep(1000) }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/CoordinatedFileManager.swift:110:13: warning: mutation of captured var 'coordinatorError' in concurrently-executing code
108 |
109 | coordinator.coordinate(with: intents, queue: queue) { coordError in
110 | coordinatorError = coordError
| `- warning: mutation of captured var 'coordinatorError' in concurrently-executing code
111 | state.isReady = true
112 | while !state.isFinished { usleep(1000) }
[10/20] Emitting module Shush
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:11:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
9 | import Foundation
10 |
11 | internal extension CollectionDifference.Change {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var element: ChangeElement {
13 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:62: error: 'Identifiable' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:295:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
293 | }
294 |
295 | extension ShushFiles: UbiquityContainerMonitorDelegate {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
296 | func ubiquityContainerMonitor(_ monitor: UbiquityContainerMonitor, inserted: [URL], updated: [URL], removed: [URL]) {
297 | let insertions = inserted.map { StandardizedURL(url: $0) }.filter { !disabledNotificationsURLs.contains($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:309:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
307 | }
308 |
309 | extension ShushFiles: Loggable {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
310 | var logTag: String {
311 | return "FileArray(\(baseURL))"
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushValues.swift:196:11: error: 'ShushValues' is only available in macOS 10.15 or newer
194 | }
195 |
196 | extension ShushValues: Loggable {
| | `- error: 'ShushValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
197 | var logTag: String {
198 | return "ShushValues(\(`prefix`))"
[11/20] Compiling Shush Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Protocols/Loggable.swift:49:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
43 | }
44 |
45 | internal extension Loggable {
| `- note: add @available attribute to enclosing extension
46 | func log(_ level: LogLevel = .info, _ message: String) {
| `- note: add @available attribute to enclosing instance method
47 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
48 | let osLog = OSLog(subsystem: Bundle(for: LogClass.self).bundleIdentifier ?? "<Unknown>", category: logTag)
49 | os_log(level.osLogType, log: osLog, "%@", message)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
50 | #else
51 | print("\(level.name): \(tag) - \(message)")
[12/20] Compiling Shush Persistable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Protocols/Loggable.swift:49:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
43 | }
44 |
45 | internal extension Loggable {
| `- note: add @available attribute to enclosing extension
46 | func log(_ level: LogLevel = .info, _ message: String) {
| `- note: add @available attribute to enclosing instance method
47 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
48 | let osLog = OSLog(subsystem: Bundle(for: LogClass.self).bundleIdentifier ?? "<Unknown>", category: logTag)
49 | os_log(level.osLogType, log: osLog, "%@", message)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
50 | #else
51 | print("\(level.name): \(tag) - \(message)")
[13/20] Compiling Shush Array+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:11:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
9 | import Foundation
10 |
11 | internal extension CollectionDifference.Change {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var element: ChangeElement {
13 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:62: error: 'Identifiable' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
[14/20] Compiling Shush CollectionDifference+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:11:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
9 | import Foundation
10 |
11 | internal extension CollectionDifference.Change {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var element: ChangeElement {
13 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:62: error: 'Identifiable' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
[15/20] Compiling Shush ShushDiagnostics.swift
[16/20] Compiling Shush ShushFile.swift
[17/20] Compiling Shush ShushFiles.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:295:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
293 | }
294 |
295 | extension ShushFiles: UbiquityContainerMonitorDelegate {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
296 | func ubiquityContainerMonitor(_ monitor: UbiquityContainerMonitor, inserted: [URL], updated: [URL], removed: [URL]) {
297 | let insertions = inserted.map { StandardizedURL(url: $0) }.filter { !disabledNotificationsURLs.contains($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:309:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
307 | }
308 |
309 | extension ShushFiles: Loggable {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
310 | var logTag: String {
311 | return "FileArray(\(baseURL))"
[18/20] Compiling Shush String+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:20: error: 'SHA256' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'SHA256' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:27: error: 'hash(data:)' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'hash(data:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:16:21: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
16 | return hash.map { String(format: "%02x", $0) }.joined()
| |- warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | }
18 | }
[19/20] Compiling Shush URL+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:20: error: 'SHA256' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'SHA256' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:27: error: 'hash(data:)' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'hash(data:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:16:21: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
16 | return hash.map { String(format: "%02x", $0) }.joined()
| |- warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | }
18 | }
[20/20] Compiling Shush ShushValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushValues.swift:196:11: error: 'ShushValues' is only available in macOS 10.15 or newer
194 | }
195 |
196 | extension ShushValues: Loggable {
| | `- error: 'ShushValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
197 | var logTag: String {
198 | return "ShushValues(\(`prefix`))"
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/18] Compiling Shush ShushValue.swift
[3/18] Compiling Shush Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Protocols/Loggable.swift:49:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
43 | }
44 |
45 | internal extension Loggable {
| `- note: add @available attribute to enclosing extension
46 | func log(_ level: LogLevel = .info, _ message: String) {
| `- note: add @available attribute to enclosing instance method
47 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
48 | let osLog = OSLog(subsystem: Bundle(for: LogClass.self).bundleIdentifier ?? "<Unknown>", category: logTag)
49 | os_log(level.osLogType, log: osLog, "%@", message)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
50 | #else
51 | print("\(level.name): \(tag) - \(message)")
[4/18] Compiling Shush Persistable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Protocols/Loggable.swift:49:9: error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
43 | }
44 |
45 | internal extension Loggable {
| `- note: add @available attribute to enclosing extension
46 | func log(_ level: LogLevel = .info, _ message: String) {
| `- note: add @available attribute to enclosing instance method
47 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
48 | let osLog = OSLog(subsystem: Bundle(for: LogClass.self).bundleIdentifier ?? "<Unknown>", category: logTag)
49 | os_log(level.osLogType, log: osLog, "%@", message)
| |- error: 'os_log(_:dso:log:_:_:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
50 | #else
51 | print("\(level.name): \(tag) - \(message)")
[5/19] Compiling Shush NSMetadataItem+Shush.swift
[6/19] Compiling Shush NSMetadataQuery+Shush.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/19] Compiling Shush StandardizedURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:90:33: error: 'difference(from:)' is only available in macOS 10.15 or newer
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
88 |
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
| |- error: 'difference(from:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | guard diff.isNotEmpty else { return }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:91:20: warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
91 | guard diff.isNotEmpty else { return }
| |- warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
92 |
93 | let changes = diff.changes
[8/19] Compiling Shush UbiquitousContainerMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:90:33: error: 'difference(from:)' is only available in macOS 10.15 or newer
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
88 |
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
| |- error: 'difference(from:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | guard diff.isNotEmpty else { return }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Helpers/UbiquitousContainerMonitor.swift:91:20: warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
15 | // https://developer.apple.com/documentation/uikit/documents_data_and_pasteboard/synchronizing_documents_in_the_icloud_environment
16 | // https://github.com/drewmccormack/SwiftCloudDrive/blob/main/Sources/SwiftCloudDrive/MetadataMonitor.swift
17 | class UbiquityContainerMonitor {
| `- note: add @available attribute to enclosing class
18 | // MARK: Init
19 | init(baseURL: URL, fileExtension: String?, interval: TimeInterval) {
:
70 |
71 | // MARK: Updates handling
72 | @objc private func processChanges() {
| `- note: add @available attribute to enclosing instance method
73 | guard !Thread.isMainThread else {
74 | DispatchQueue.global(qos: .utility).async {
:
89 | // Inform observer
90 | let diff = visibleItems.difference(from: self.visibleItems)
91 | guard diff.isNotEmpty else { return }
| |- warning: conformance of 'CollectionDifference<ChangeElement>' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
92 |
93 | let changes = diff.changes
[9/19] Compiling Shush ShushDiagnostics.swift
[10/19] Compiling Shush ShushFile.swift
[11/19] Emitting module Shush
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:11:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
9 | import Foundation
10 |
11 | internal extension CollectionDifference.Change {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var element: ChangeElement {
13 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:62: error: 'Identifiable' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:295:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
293 | }
294 |
295 | extension ShushFiles: UbiquityContainerMonitorDelegate {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
296 | func ubiquityContainerMonitor(_ monitor: UbiquityContainerMonitor, inserted: [URL], updated: [URL], removed: [URL]) {
297 | let insertions = inserted.map { StandardizedURL(url: $0) }.filter { !disabledNotificationsURLs.contains($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:309:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
307 | }
308 |
309 | extension ShushFiles: Loggable {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
310 | var logTag: String {
311 | return "FileArray(\(baseURL))"
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushValues.swift:196:11: error: 'ShushValues' is only available in macOS 10.15 or newer
194 | }
195 |
196 | extension ShushValues: Loggable {
| | `- error: 'ShushValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
197 | var logTag: String {
198 | return "ShushValues(\(`prefix`))"
[12/19] Compiling Shush Change.swift
[13/19] Compiling Shush CoordinatedFileManager.swift
[14/19] Compiling Shush String+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:20: error: 'SHA256' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'SHA256' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:27: error: 'hash(data:)' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'hash(data:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:16:21: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
16 | return hash.map { String(format: "%02x", $0) }.joined()
| |- warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | }
18 | }
[15/19] Compiling Shush URL+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:20: error: 'SHA256' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'SHA256' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:15:27: error: 'hash(data:)' is only available in macOS 10.15 or newer
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
| |- error: 'hash(data:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | return hash.map { String(format: "%02x", $0) }.joined()
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/String+Shush.swift:16:21: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 | import CryptoKit
11 |
12 | internal extension String {
| `- note: add @available attribute to enclosing extension
13 | var sha256: String {
| `- note: add @available attribute to enclosing property
14 | let data = data(using: .utf8)!
15 | let hash = SHA256.hash(data: data)
16 | return hash.map { String(format: "%02x", $0) }.joined()
| |- warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | }
18 | }
[16/19] Compiling Shush ShushFiles.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:295:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
293 | }
294 |
295 | extension ShushFiles: UbiquityContainerMonitorDelegate {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
296 | func ubiquityContainerMonitor(_ monitor: UbiquityContainerMonitor, inserted: [URL], updated: [URL], removed: [URL]) {
297 | let insertions = inserted.map { StandardizedURL(url: $0) }.filter { !disabledNotificationsURLs.contains($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushFiles.swift:309:11: error: 'ShushFiles' is only available in macOS 10.15 or newer
307 | }
308 |
309 | extension ShushFiles: Loggable {
| | `- error: 'ShushFiles' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
310 | var logTag: String {
311 | return "FileArray(\(baseURL))"
[17/19] Compiling Shush Array+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:11:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
9 | import Foundation
10 |
11 | internal extension CollectionDifference.Change {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var element: ChangeElement {
13 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:62: error: 'Identifiable' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
[18/19] Compiling Shush CollectionDifference+Shush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:11:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
9 | import Foundation
10 |
11 | internal extension CollectionDifference.Change {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var element: ChangeElement {
13 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:20: error: 'CollectionDifference' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'CollectionDifference' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
/Users/admin/builder/spi-builder-workspace/Sources/Shush/Extensions/CollectionDifference+Shush.swift:20:62: error: 'Identifiable' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension CollectionDifference where ChangeElement: Identifiable {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
21 | var changes: (inserted: [ChangeElement], updated: [ChangeElement], removed: [ChangeElement]) {
22 | var inserted = self.insertions.map(\.element)
[19/19] Compiling Shush ShushValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shush/ShushValues.swift:196:11: error: 'ShushValues' is only available in macOS 10.15 or newer
194 | }
195 |
196 | extension ShushValues: Loggable {
| | `- error: 'ShushValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
197 | var logTag: String {
198 | return "ShushValues(\(`prefix`))"
BUILD FAILURE 6.1 macosSpm