Build Information
Failed to build SwiftHelpers, reference 3.0.0 (ccedc3), with Swift 6.1 for Android on 15 Oct 2025 19:30:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/processed-bits/swift-helpers.git
Reference: 3.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/processed-bits/swift-helpers
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at ccedc3d Release 3.0.0
Cloned https://github.com/processed-bits/swift-helpers.git
Revision (git rev-parse @):
ccedc3dd3b81312500a7f99dc5fc924022e5f63e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/processed-bits/swift-helpers.git at 3.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/processed-bits/swift-helpers.git
https://github.com/processed-bits/swift-helpers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftHelpers",
"name" : "SwiftHelpers",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AppKitHelpers",
"targets" : [
"AppKitHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAnimationHelpers",
"targets" : [
"CoreAnimationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreDataHelpers",
"targets" : [
"CoreDataHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreGraphicsHelpers",
"targets" : [
"CoreGraphicsHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DebuggingHelpers",
"targets" : [
"DebuggingHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ExitCodeHelpers",
"targets" : [
"ExitCodeHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FoundationHelpers",
"targets" : [
"FoundationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FoundationLegacyHelpers",
"targets" : [
"FoundationLegacyHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggingHelpers",
"targets" : [
"LoggingHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OutputHelpers",
"targets" : [
"OutputHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "StandardLibraryHelpers",
"targets" : [
"StandardLibraryHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SynchronizationHelpers",
"targets" : [
"SynchronizationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestingShared",
"module_type" : "SwiftTarget",
"name" : "TestingShared",
"path" : "Sources/TestingShared",
"sources" : [
"Comment+Shared.swift",
"Tag+Shared.swift"
],
"type" : "library"
},
{
"c99name" : "SynchronizationHelpersTests",
"module_type" : "SwiftTarget",
"name" : "SynchronizationHelpersTests",
"path" : "Tests/SynchronizationHelpersTests",
"sources" : [
"AtomicConcurrentTests.swift",
"AtomicSerialTests.swift",
"Helpers/ConcurrencyTest.swift",
"LockedTests.swift",
"RecursiveLockedTests.swift",
"UnfairLockedTests.swift"
],
"target_dependencies" : [
"DebuggingHelpers",
"StandardLibraryHelpers",
"SynchronizationHelpers",
"TestingShared"
],
"type" : "test"
},
{
"c99name" : "SynchronizationHelpers",
"module_type" : "SwiftTarget",
"name" : "SynchronizationHelpers",
"path" : "Sources/SynchronizationHelpers",
"product_memberships" : [
"DebuggingHelpers",
"OutputHelpers",
"SynchronizationHelpers"
],
"sources" : [
"AtomicConcurrent.swift",
"AtomicSerial.swift",
"Locked.swift",
"RecursiveLocked.swift",
"UnfairLocked.swift"
],
"type" : "library"
},
{
"c99name" : "StandardLibraryHelpersTests",
"module_type" : "SwiftTarget",
"name" : "StandardLibraryHelpersTests",
"path" : "Tests/StandardLibraryHelpersTests",
"sources" : [
"CollectionTests.swift",
"KeyValuePairsTests.swift",
"RegexTests.swift",
"SequenceTests.swift",
"SetTests.swift",
"StringProtocolTests.swift",
"StringTests.swift"
],
"target_dependencies" : [
"StandardLibraryHelpers"
],
"type" : "test"
},
{
"c99name" : "StandardLibraryHelpers",
"module_type" : "SwiftTarget",
"name" : "StandardLibraryHelpers",
"path" : "Sources/StandardLibraryHelpers",
"product_memberships" : [
"AppKitHelpers",
"CoreGraphicsHelpers",
"FoundationHelpers",
"StandardLibraryHelpers"
],
"sources" : [
"Collection+Extensions.swift",
"KeyValuePairs+Extensions.swift",
"Regex+Extensions.swift",
"Sequence+Extensions.swift",
"Set+Extensions.swift",
"String+Extensions.swift",
"String+Padding.swift",
"String+Truncation.swift",
"StringProtocol+Case.swift",
"StringProtocol+Extensions.swift",
"StringProtocol+Padding.swift",
"Unicode.Scalar+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "OutputHelpersTests",
"module_type" : "SwiftTarget",
"name" : "OutputHelpersTests",
"path" : "Tests/OutputHelpersTests",
"sources" : [
"BufferedOutputTests.swift",
"ProcessOutputTests.swift"
],
"target_dependencies" : [
"FoundationHelpers",
"OutputHelpers"
],
"type" : "test"
},
{
"c99name" : "OutputHelpers",
"module_type" : "SwiftTarget",
"name" : "OutputHelpers",
"path" : "Sources/OutputHelpers",
"product_memberships" : [
"OutputHelpers"
],
"sources" : [
"BufferedOutput.swift",
"BufferedOutputCollector.swift",
"BufferedOutputProviding.swift",
"FileHandle+TextOutputStream.swift",
"OutputStreamKind.swift",
"Process+Output.swift",
"print.swift"
],
"target_dependencies" : [
"SynchronizationHelpers"
],
"type" : "library"
},
{
"c99name" : "LoggingHelpersTests",
"module_type" : "SwiftTarget",
"name" : "LoggingHelpersTests",
"path" : "Tests/LoggingHelpersTests",
"sources" : [
"LegacyLoggerTests.swift",
"LoggerTests.swift"
],
"target_dependencies" : [
"LoggingHelpers"
],
"type" : "test"
},
{
"c99name" : "LoggingHelpers",
"module_type" : "SwiftTarget",
"name" : "LoggingHelpers",
"path" : "Sources/LoggingHelpers",
"product_memberships" : [
"LoggingHelpers"
],
"sources" : [
"ExtendedLogger.swift",
"LegacyLogger+ExtendedLogger.swift",
"LegacyLogger.swift",
"Logger+ExtendedLogger.swift",
"String+Logging.swift"
],
"type" : "library"
},
{
"c99name" : "FoundationLegacyHelpersTests",
"module_type" : "SwiftTarget",
"name" : "FoundationLegacyHelpersTests",
"path" : "Tests/FoundationLegacyHelpersTests",
"sources" : [
"NSRegularExpressionTests.swift"
],
"target_dependencies" : [
"FoundationLegacyHelpers"
],
"type" : "test"
},
{
"c99name" : "FoundationLegacyHelpers",
"module_type" : "SwiftTarget",
"name" : "FoundationLegacyHelpers",
"path" : "Sources/FoundationLegacyHelpers",
"product_memberships" : [
"FoundationLegacyHelpers"
],
"sources" : [
"NSRegularExpression+Extensions.swift",
"NSTextCheckingResult+Extensions.swift",
"String+NSRegularExpression.swift"
],
"type" : "library"
},
{
"c99name" : "FoundationHelpersTests",
"module_type" : "SwiftTarget",
"name" : "FoundationHelpersTests",
"path" : "Tests/FoundationHelpersTests",
"sources" : [
"CharacterSetTests.swift",
"DataTests.swift",
"Helpers/CharacterSet+Testing.swift",
"Helpers/Comment+CharacterSet.swift",
"Helpers/Comment+URLs.swift",
"Helpers/Comment+UserDefaults.swift",
"Helpers/Condition.swift",
"Helpers/FilenameComponents+Testing.swift",
"Helpers/HierarchicalPath+Testing.swift",
"Helpers/URL+Testing.swift",
"Helpers/URLComponents+Testing.swift",
"Helpers/URLNormalizationTest.swift",
"Helpers/URLTestStrings.swift",
"HierarchicalPathTests.swift",
"IndexPathTests.swift",
"ProcessAsyncTests.swift",
"URLBaseURLTests.swift",
"URLComparableTests.swift",
"URLDirectoryTests.swift",
"URLEncodingTests.swift",
"URLEquatableTests.swift",
"URLFilenameComponentsTests.swift",
"URLHomeDirectoryTests.swift",
"URLInitializationTests.swift",
"URLLexicalNormalizationTests.swift",
"URLNormalizationTests.swift",
"URLPartsTests.swift",
"URLRFC3986Tests.swift",
"URLReferenceKindTests.swift",
"URLRelativizationTests.swift",
"UserDefaultTests.swift"
],
"target_dependencies" : [
"DebuggingHelpers",
"FoundationHelpers",
"TestingShared"
],
"type" : "test"
},
{
"c99name" : "FoundationHelpers",
"module_type" : "SwiftTarget",
"name" : "FoundationHelpers",
"path" : "Sources/FoundationHelpers",
"product_memberships" : [
"AppKitHelpers",
"CoreGraphicsHelpers",
"FoundationHelpers"
],
"sources" : [
"Collections/IndexPath+Extensions.swift",
"Data/Data+Extensions.swift",
"Operations/BlockOperation+Extensions.swift",
"Operations/OperationQueue+Extensions.swift",
"Preferences/UserDefault.swift",
"Preferences/UserDefaultJSONEncoded.swift",
"Preferences/UserDefaultRawRepresented.swift",
"Preferences/UserDefaultRepresentable.swift",
"Processes/Process+Extensions.swift",
"Resources/Bundle+Extensions.swift",
"Scheduling/Timer+Extensions.swift",
"StringsAndText/CharacterSet+Extensions.swift",
"StringsAndText/CharacterSet+URL.swift",
"URLs/FilenameComponents.swift",
"URLs/HTTPURLResponse+Extensions.swift",
"URLs/HierarchicalPath.swift",
"URLs/URIReferenceKind.swift",
"URLs/URL+BaseURL.swift",
"URLs/URL+Comparable.swift",
"URLs/URL+FilenameComponents.swift",
"URLs/URL+HomeDirectory.swift",
"URLs/URL+Normalization.swift",
"URLs/URL+Parts.swift",
"URLs/URL+ReferenceKind.swift",
"URLs/URL+Relativization.swift",
"URLs/URLBookmark.swift",
"URLs/URLComponents+BaseURL.swift",
"URLs/URLComponents+Normalization.swift",
"URLs/URLComponents+ReferenceKind.swift"
],
"target_dependencies" : [
"StandardLibraryHelpers"
],
"type" : "library"
},
{
"c99name" : "ExitCodeHelpers",
"module_type" : "SwiftTarget",
"name" : "ExitCodeHelpers",
"path" : "Sources/ExitCodeHelpers",
"product_memberships" : [
"ExitCodeHelpers"
],
"sources" : [
"ExitCodeProtocol.swift",
"ExitCodeProvidingError.swift",
"exit.swift"
],
"type" : "library"
},
{
"c99name" : "DebuggingHelpersTests",
"module_type" : "SwiftTarget",
"name" : "DebuggingHelpersTests",
"path" : "Tests/DebuggingHelpersTests",
"sources" : [
"CallCounterTests.swift",
"Helpers/sleep.swift",
"SplitStopwatchTests.swift",
"StopwatchTests.swift",
"ThreadCounterTests.swift",
"ThreadTests.swift"
],
"target_dependencies" : [
"DebuggingHelpers",
"StandardLibraryHelpers",
"TestingShared"
],
"type" : "test"
},
{
"c99name" : "DebuggingHelpers",
"module_type" : "SwiftTarget",
"name" : "DebuggingHelpers",
"path" : "Sources/DebuggingHelpers",
"product_memberships" : [
"DebuggingHelpers"
],
"sources" : [
"CallCounter.swift",
"SplitStopwatch.swift",
"Stopwatch.swift",
"Thread+Debug.swift",
"ThreadCounter.swift",
"dumpOutput.swift"
],
"target_dependencies" : [
"SynchronizationHelpers"
],
"type" : "library"
},
{
"c99name" : "CoreGraphicsHelpersTests",
"module_type" : "SwiftTarget",
"name" : "CoreGraphicsHelpersTests",
"path" : "Tests/CoreGraphicsHelpersTests",
"sources" : [
"CGSizeTests.swift"
],
"target_dependencies" : [
"CoreGraphicsHelpers"
],
"type" : "test"
},
{
"c99name" : "CoreGraphicsHelpers",
"module_type" : "SwiftTarget",
"name" : "CoreGraphicsHelpers",
"path" : "Sources/CoreGraphicsHelpers",
"product_memberships" : [
"CoreGraphicsHelpers"
],
"sources" : [
"CGFloat+Extensions.swift",
"CGSize+Extensions.swift"
],
"target_dependencies" : [
"FoundationHelpers"
],
"type" : "library"
},
{
"c99name" : "CoreDataHelpers",
"module_type" : "SwiftTarget",
"name" : "CoreDataHelpers",
"path" : "Sources/CoreDataHelpers",
"product_memberships" : [
"CoreDataHelpers"
],
"sources" : [
"NSManagedObject+Extensions.swift",
"NSManagedObjectContext+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "CoreAnimationHelpers",
"module_type" : "SwiftTarget",
"name" : "CoreAnimationHelpers",
"path" : "Sources/CoreAnimationHelpers",
"product_memberships" : [
"CoreAnimationHelpers"
],
"sources" : [
"CALayer+Extensions.swift",
"CAMediaTiming+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "AppKitHelpersTests",
"module_type" : "SwiftTarget",
"name" : "AppKitHelpersTests",
"path" : "Tests/AppKitHelpersTests",
"sources" : [
"NSMenuItemTests.swift",
"NSTreeControllerTests.swift"
],
"target_dependencies" : [
"AppKitHelpers"
],
"type" : "test"
},
{
"c99name" : "AppKitHelpers",
"module_type" : "SwiftTarget",
"name" : "AppKitHelpers",
"path" : "Sources/AppKitHelpers",
"product_memberships" : [
"AppKitHelpers"
],
"sources" : [
"Bindings/NSObject+Bindings.swift",
"Controllers/NSTreeController+Extensions.swift",
"Input/EventMonitor.swift",
"Menus/NSMenuItem+Extensions.swift",
"TouchBar/AlertStyleGroupTouchBarItem.swift",
"TouchBar/NSTouchBar+Extensions.swift",
"Views/ModalView.swift",
"Views/NSBrowser+Extensions.swift",
"Views/NSImage+Extensions.swift",
"Views/NSResponder+Extensions.swift",
"Views/NSTableView+Extensions.swift",
"Views/NSView+Extensions.swift"
],
"target_dependencies" : [
"FoundationHelpers"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/55] Compiling LoggingHelpers String+Logging.swift
[16/55] Compiling CoreAnimationHelpers CALayer+Extensions.swift
[17/55] Compiling TestingShared Tag+Shared.swift
[18/55] Emitting module TestingShared
[19/55] Compiling TestingShared Comment+Shared.swift
[20/56] Emitting module CoreAnimationHelpers
[21/56] Compiling CoreAnimationHelpers CAMediaTiming+Extensions.swift
[22/57] Compiling CoreDataHelpers NSManagedObject+Extensions.swift
[23/57] Emitting module CoreDataHelpers
[24/57] Compiling CoreDataHelpers NSManagedObjectContext+Extensions.swift
[25/58] Compiling LoggingHelpers ExtendedLogger.swift
[26/58] Emitting module LoggingHelpers
[27/58] Compiling LoggingHelpers LegacyLogger+ExtendedLogger.swift
[28/58] Compiling LoggingHelpers LegacyLogger.swift
[29/58] Compiling LoggingHelpers Logger+ExtendedLogger.swift
[34/59] Compiling SynchronizationHelpers UnfairLocked.swift
[35/59] Compiling StandardLibraryHelpers Regex+Extensions.swift
[36/59] Compiling StandardLibraryHelpers Sequence+Extensions.swift
[37/60] Emitting module FoundationLegacyHelpers
[38/60] Compiling StandardLibraryHelpers StringProtocol+Padding.swift
[39/60] Emitting module StandardLibraryHelpers
[40/60] Compiling StandardLibraryHelpers Collection+Extensions.swift
[41/60] Compiling StandardLibraryHelpers KeyValuePairs+Extensions.swift
[42/60] Compiling StandardLibraryHelpers Unicode.Scalar+Extensions.swift
[43/60] Compiling StandardLibraryHelpers StringProtocol+Extensions.swift
[44/60] Emitting module SynchronizationHelpers
[45/60] Compiling SynchronizationHelpers AtomicConcurrent.swift
[46/60] Compiling SynchronizationHelpers Locked.swift
[47/60] Compiling SynchronizationHelpers AtomicSerial.swift
[48/60] Compiling SynchronizationHelpers RecursiveLocked.swift
[50/76] Compiling ExitCodeHelpers ExitCodeProtocol.swift
[51/76] Emitting module ExitCodeHelpers
[52/76] Compiling ExitCodeHelpers ExitCodeProvidingError.swift
[53/76] Compiling ExitCodeHelpers exit.swift
[54/77] Compiling StandardLibraryHelpers String+Padding.swift
[55/77] Compiling StandardLibraryHelpers String+Truncation.swift
[57/77] Compiling StandardLibraryHelpers Set+Extensions.swift
[58/77] Compiling StandardLibraryHelpers String+Extensions.swift
[59/77] Compiling DebuggingHelpers dumpOutput.swift
[60/77] Compiling FoundationLegacyHelpers String+NSRegularExpression.swift
[61/77] Compiling StandardLibraryHelpers StringProtocol+Case.swift
[62/78] Compiling FoundationLegacyHelpers NSRegularExpression+Extensions.swift
[63/78] Compiling OutputHelpers print.swift
[64/78] Compiling OutputHelpers OutputStreamKind.swift
[65/78] Compiling FoundationLegacyHelpers NSTextCheckingResult+Extensions.swift
[66/78] Compiling OutputHelpers Process+Output.swift
[67/79] Compiling OutputHelpers BufferedOutputProviding.swift
[68/79] Compiling OutputHelpers FileHandle+TextOutputStream.swift
[69/79] Compiling DebuggingHelpers Thread+Debug.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/79] Emitting module DebuggingHelpers
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:121:60: error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
119 | /// The format style used to create string representations of measurements.
120 | @available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
| `- error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
122 | .measurement(
123 | width: .abbreviated,
Foundation.Measurement:2:15: note: 'Measurement' declared here
1 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
2 | public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
| `- note: 'Measurement' declared here
3 | public typealias ReferenceType = NSMeasurement
4 | public let unit: UnitType
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:135:32: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
133 | @available(tvOS, introduced: 10.0, deprecated: 15.0)
134 | @available(watchOS, introduced: 3.0, deprecated: 8.0)
135 | public static var formatter: MeasurementFormatter {
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
136 | let formatter = MeasurementFormatter()
137 | formatter.unitOptions = .providedUnit
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
[71/79] Compiling OutputHelpers BufferedOutputCollector.swift
[72/79] Compiling DebuggingHelpers ThreadCounter.swift
[73/79] Compiling DebuggingHelpers SplitStopwatch.swift
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:121:60: error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
119 | /// The format style used to create string representations of measurements.
120 | @available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
| `- error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
122 | .measurement(
123 | width: .abbreviated,
Foundation.Measurement:2:15: note: 'Measurement' declared here
1 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
2 | public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
| `- note: 'Measurement' declared here
3 | public typealias ReferenceType = NSMeasurement
4 | public let unit: UnitType
[74/79] Compiling DebuggingHelpers CallCounter.swift
[75/79] Compiling DebuggingHelpers Stopwatch.swift
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:121:60: error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
119 | /// The format style used to create string representations of measurements.
120 | @available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
| `- error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
122 | .measurement(
123 | width: .abbreviated,
Foundation.Measurement:2:15: note: 'Measurement' declared here
1 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
2 | public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
| `- note: 'Measurement' declared here
3 | public typealias ReferenceType = NSMeasurement
4 | public let unit: UnitType
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:135:32: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
133 | @available(tvOS, introduced: 10.0, deprecated: 15.0)
134 | @available(watchOS, introduced: 3.0, deprecated: 8.0)
135 | public static var formatter: MeasurementFormatter {
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
136 | let formatter = MeasurementFormatter()
137 | formatter.unitOptions = .providedUnit
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:89:17: error: value of type 'Measurement<UnitDuration>' has no member 'formatted'
87 | public var description: String {
88 | if #available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) {
89 | measurement.formatted(Self.formatStyle)
| `- error: value of type 'Measurement<UnitDuration>' has no member 'formatted'
90 | } else {
91 | Self.formatter.string(from: measurement)
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:136:20: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
134 | @available(watchOS, introduced: 3.0, deprecated: 8.0)
135 | public static var formatter: MeasurementFormatter {
136 | let formatter = MeasurementFormatter()
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
137 | formatter.unitOptions = .providedUnit
138 | formatter.unitStyle = .medium
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
[76/79] Emitting module OutputHelpers
[77/79] Compiling OutputHelpers BufferedOutput.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/42] Compiling CoreAnimationHelpers CALayer+Extensions.swift
[3/42] Compiling LoggingHelpers ExtendedLogger.swift
[4/42] Compiling CoreAnimationHelpers CAMediaTiming+Extensions.swift
[5/42] Emitting module CoreAnimationHelpers
[6/43] Emitting module LoggingHelpers
[7/43] Emitting module CoreDataHelpers
[8/43] Compiling CoreDataHelpers NSManagedObject+Extensions.swift
[9/43] Compiling CoreDataHelpers NSManagedObjectContext+Extensions.swift
[10/44] Compiling LoggingHelpers LegacyLogger.swift
[11/44] Compiling LoggingHelpers LegacyLogger+ExtendedLogger.swift
[12/44] Compiling LoggingHelpers Logger+ExtendedLogger.swift
[13/44] Compiling LoggingHelpers String+Logging.swift
[14/45] Emitting module TestingShared
[15/45] Compiling TestingShared Comment+Shared.swift
[16/45] Compiling TestingShared Tag+Shared.swift
[17/45] Emitting module ExitCodeHelpers
[18/46] Compiling ExitCodeHelpers ExitCodeProvidingError.swift
[19/46] Compiling ExitCodeHelpers exit.swift
[20/46] Compiling ExitCodeHelpers ExitCodeProtocol.swift
[21/47] Compiling FoundationLegacyHelpers String+NSRegularExpression.swift
[23/47] Compiling SynchronizationHelpers UnfairLocked.swift
[28/47] Compiling SynchronizationHelpers Locked.swift
[29/47] Compiling SynchronizationHelpers RecursiveLocked.swift
[30/47] Compiling StandardLibraryHelpers Regex+Extensions.swift
[31/47] Compiling StandardLibraryHelpers Sequence+Extensions.swift
[32/47] Emitting module StandardLibraryHelpers
[33/47] Compiling StandardLibraryHelpers Set+Extensions.swift
[34/47] Compiling StandardLibraryHelpers String+Extensions.swift
[35/47] Compiling StandardLibraryHelpers Collection+Extensions.swift
[36/47] Compiling StandardLibraryHelpers KeyValuePairs+Extensions.swift
[37/47] Compiling StandardLibraryHelpers String+Padding.swift
[38/47] Emitting module FoundationLegacyHelpers
[39/47] Compiling StandardLibraryHelpers String+Truncation.swift
[40/48] Compiling FoundationLegacyHelpers NSRegularExpression+Extensions.swift
[41/48] Compiling SynchronizationHelpers AtomicConcurrent.swift
[42/48] Compiling SynchronizationHelpers AtomicSerial.swift
[43/48] Emitting module SynchronizationHelpers
[44/48] Compiling FoundationLegacyHelpers NSTextCheckingResult+Extensions.swift
[45/49] Compiling StandardLibraryHelpers StringProtocol+Padding.swift
[46/49] Compiling StandardLibraryHelpers StringProtocol+Extensions.swift
[47/49] Compiling StandardLibraryHelpers StringProtocol+Case.swift
[50/50] Compiling StandardLibraryHelpers Unicode.Scalar+Extensions.swift
[52/93] Emitting module OutputHelpers
[53/93] Compiling DebuggingHelpers Thread+Debug.swift
[54/93] Compiling OutputHelpers print.swift
[55/93] Compiling OutputHelpers Process+Output.swift
[56/93] Compiling OutputHelpers OutputStreamKind.swift
[57/93] Compiling OutputHelpers BufferedOutputProviding.swift
[58/93] Compiling OutputHelpers FileHandle+TextOutputStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/93] Emitting module DebuggingHelpers
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:121:60: error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
119 | /// The format style used to create string representations of measurements.
120 | @available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
| `- error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
122 | .measurement(
123 | width: .abbreviated,
Foundation.Measurement:2:15: note: 'Measurement' declared here
1 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
2 | public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
| `- note: 'Measurement' declared here
3 | public typealias ReferenceType = NSMeasurement
4 | public let unit: UnitType
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:135:32: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
133 | @available(tvOS, introduced: 10.0, deprecated: 15.0)
134 | @available(watchOS, introduced: 3.0, deprecated: 8.0)
135 | public static var formatter: MeasurementFormatter {
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
136 | let formatter = MeasurementFormatter()
137 | formatter.unitOptions = .providedUnit
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
[60/93] Compiling OutputHelpers BufferedOutputCollector.swift
[61/93] Compiling DebuggingHelpers Stopwatch.swift
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:121:60: error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
119 | /// The format style used to create string representations of measurements.
120 | @available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
| `- error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
122 | .measurement(
123 | width: .abbreviated,
Foundation.Measurement:2:15: note: 'Measurement' declared here
1 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
2 | public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
| `- note: 'Measurement' declared here
3 | public typealias ReferenceType = NSMeasurement
4 | public let unit: UnitType
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:135:32: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
133 | @available(tvOS, introduced: 10.0, deprecated: 15.0)
134 | @available(watchOS, introduced: 3.0, deprecated: 8.0)
135 | public static var formatter: MeasurementFormatter {
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
136 | let formatter = MeasurementFormatter()
137 | formatter.unitOptions = .providedUnit
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:89:17: error: value of type 'Measurement<UnitDuration>' has no member 'formatted'
87 | public var description: String {
88 | if #available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) {
89 | measurement.formatted(Self.formatStyle)
| `- error: value of type 'Measurement<UnitDuration>' has no member 'formatted'
90 | } else {
91 | Self.formatter.string(from: measurement)
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:136:20: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
134 | @available(watchOS, introduced: 3.0, deprecated: 8.0)
135 | public static var formatter: MeasurementFormatter {
136 | let formatter = MeasurementFormatter()
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
137 | formatter.unitOptions = .providedUnit
138 | formatter.unitStyle = .medium
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/93] Emitting module FoundationHelpers
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/HTTPURLResponse+Extensions.swift:8:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
6 |
7 | /// Response status helpers.
8 | public extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
9 |
10 | // MARK: Response Status
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:23:35: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:25:37: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
23 | public let creationOptions: URL.BookmarkCreationOptions
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Decodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Decodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkCreationOptions' does not conform to 'Decodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Decodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:56:25: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
54 | public init(
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:57:27: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
59 | relativeTo baseURL: URL? = nil
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Encodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Encodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkCreationOptions' does not conform to 'Encodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Encodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:105:16: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
103 | }
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
107 | extension URLResourceKey: @retroactive Codable {}
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:106:16: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
107 | extension URLResourceKey: @retroactive Codable {}
108 | #endif
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
[63/96] Compiling DebuggingHelpers CallCounter.swift
[64/96] Compiling DebuggingHelpers SplitStopwatch.swift
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:121:60: error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
119 | /// The format style used to create string representations of measurements.
120 | @available(iOS 15.0, macCatalyst 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
| `- error: 'FormatStyle' is not a member type of generic struct 'Foundation.Measurement<Foundation.UnitDuration>'
122 | .measurement(
123 | width: .abbreviated,
Foundation.Measurement:2:15: note: 'Measurement' declared here
1 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
2 | public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
| `- note: 'Measurement' declared here
3 | public typealias ReferenceType = NSMeasurement
4 | public let unit: UnitType
[65/96] Compiling DebuggingHelpers dumpOutput.swift
[66/96] Compiling OutputHelpers BufferedOutput.swift
[67/96] Compiling FoundationHelpers URL+HomeDirectory.swift
[68/97] Compiling FoundationHelpers URL+Normalization.swift
[69/97] Compiling FoundationHelpers URL+Parts.swift
[70/97] Compiling FoundationHelpers URIReferenceKind.swift
[71/97] Compiling FoundationHelpers URL+BaseURL.swift
[72/97] Compiling FoundationHelpers URL+Comparable.swift
[73/97] Compiling FoundationHelpers URL+FilenameComponents.swift
[74/97] Compiling FoundationHelpers Process+Extensions.swift
[75/97] Compiling FoundationHelpers Bundle+Extensions.swift
[76/97] Compiling FoundationHelpers Timer+Extensions.swift
[77/97] Compiling FoundationHelpers CharacterSet+Extensions.swift
[78/97] Compiling FoundationHelpers CharacterSet+URL.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/HTTPURLResponse+Extensions.swift:8:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
6 |
7 | /// Response status helpers.
8 | public extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
9 |
10 | // MARK: Response Status
[79/97] Compiling FoundationHelpers FilenameComponents.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/HTTPURLResponse+Extensions.swift:8:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
6 |
7 | /// Response status helpers.
8 | public extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
9 |
10 | // MARK: Response Status
[80/97] Compiling FoundationHelpers HTTPURLResponse+Extensions.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/HTTPURLResponse+Extensions.swift:8:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
6 |
7 | /// Response status helpers.
8 | public extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
9 |
10 | // MARK: Response Status
[81/97] Compiling FoundationHelpers HierarchicalPath.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/HTTPURLResponse+Extensions.swift:8:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
6 |
7 | /// Response status helpers.
8 | public extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
9 |
10 | // MARK: Response Status
[82/97] Compiling FoundationHelpers URL+ReferenceKind.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:23:35: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:25:37: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
23 | public let creationOptions: URL.BookmarkCreationOptions
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Decodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Decodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkCreationOptions' does not conform to 'Decodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Decodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:56:25: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
54 | public init(
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:57:27: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
59 | relativeTo baseURL: URL? = nil
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Encodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Encodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkCreationOptions' does not conform to 'Encodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Encodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:105:16: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
103 | }
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
107 | extension URLResourceKey: @retroactive Codable {}
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:106:16: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
107 | extension URLResourceKey: @retroactive Codable {}
108 | #endif
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:72:20: error: value of type 'URL' has no member 'bookmarkData'
70 | /// Creates bookmark data for the URL.
71 | public mutating func create(with url: URL?) throws {
72 | data = try url?.bookmarkData(options: creationOptions, includingResourceValuesForKeys: keys, relativeTo: baseURL)
| `- error: value of type 'URL' has no member 'bookmarkData'
73 | isStale = false
74 | }
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:83:18: error: no exact matches in call to initializer
81 | return nil
82 | }
83 | let url = try URL(resolvingBookmarkData: data, options: resolutionOptions, relativeTo: baseURL, bookmarkDataIsStale: &isStale)
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (string: __shared String, relativeTo: __shared URL?)
| |- note: candidate has partially matching parameter list (fileURLWithPath: __shared String, relativeTo: __shared URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: __shared Data, relativeTo: __shared URL?, isAbsolute: Bool)
| `- note: candidate has partially matching parameter list (filePath: String, directoryHint: URL.DirectoryHint, relativeTo: URL?)
84 | // Create a new bookmark using the returned URL and use it in place of any stored copies of the existing bookmark.
85 | if isStale {
[83/97] Compiling FoundationHelpers URL+Relativization.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:23:35: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:25:37: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
23 | public let creationOptions: URL.BookmarkCreationOptions
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Decodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Decodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkCreationOptions' does not conform to 'Decodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Decodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:56:25: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
54 | public init(
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:57:27: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
59 | relativeTo baseURL: URL? = nil
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Encodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Encodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkCreationOptions' does not conform to 'Encodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Encodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:105:16: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
103 | }
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
107 | extension URLResourceKey: @retroactive Codable {}
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:106:16: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
107 | extension URLResourceKey: @retroactive Codable {}
108 | #endif
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:72:20: error: value of type 'URL' has no member 'bookmarkData'
70 | /// Creates bookmark data for the URL.
71 | public mutating func create(with url: URL?) throws {
72 | data = try url?.bookmarkData(options: creationOptions, includingResourceValuesForKeys: keys, relativeTo: baseURL)
| `- error: value of type 'URL' has no member 'bookmarkData'
73 | isStale = false
74 | }
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:83:18: error: no exact matches in call to initializer
81 | return nil
82 | }
83 | let url = try URL(resolvingBookmarkData: data, options: resolutionOptions, relativeTo: baseURL, bookmarkDataIsStale: &isStale)
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (string: __shared String, relativeTo: __shared URL?)
| |- note: candidate has partially matching parameter list (fileURLWithPath: __shared String, relativeTo: __shared URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: __shared Data, relativeTo: __shared URL?, isAbsolute: Bool)
| `- note: candidate has partially matching parameter list (filePath: String, directoryHint: URL.DirectoryHint, relativeTo: URL?)
84 | // Create a new bookmark using the returned URL and use it in place of any stored copies of the existing bookmark.
85 | if isStale {
[84/97] Compiling FoundationHelpers URLBookmark.swift
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:23:35: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:25:37: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
23 | public let creationOptions: URL.BookmarkCreationOptions
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Decodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Decodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkCreationOptions' does not conform to 'Decodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Decodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Decodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:56:25: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
54 | public init(
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:57:27: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
55 | data: Data? = nil,
56 | creationOptions: URL.BookmarkCreationOptions = [],
57 | resolutionOptions: URL.BookmarkResolutionOptions = [],
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
58 | includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil,
59 | relativeTo baseURL: URL? = nil
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:15:16: error: type 'URLBookmark' does not conform to protocol 'Encodable'
13 | /// - `com.apple.security.files.bookmarks.app-scope`
14 | /// - `com.apple.security.files.bookmarks.document-scope`
15 | public struct URLBookmark: Codable {
| `- error: type 'URLBookmark' does not conform to protocol 'Encodable'
16 |
17 | /// Bookmark data.
:
21 |
22 | /// Options used when creating bookmark data.
23 | public let creationOptions: URL.BookmarkCreationOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkCreationOptions' does not conform to 'Encodable'
24 | /// Options used when resolving bookmark data.
25 | public let resolutionOptions: URL.BookmarkResolutionOptions
| `- note: cannot automatically synthesize 'Encodable' because 'URL.BookmarkResolutionOptions' does not conform to 'Encodable'
26 | /// Keys for resource values to be included when creating bookmark data.
27 | public let keys: Set<URLResourceKey>?
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:105:16: error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
103 | }
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
| `- error: 'BookmarkCreationOptions' is not a member type of struct 'FoundationEssentials.URL'
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
107 | extension URLResourceKey: @retroactive Codable {}
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:106:16: error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
104 |
105 | extension URL.BookmarkCreationOptions: @retroactive Codable {}
106 | extension URL.BookmarkResolutionOptions: @retroactive Codable {}
| `- error: 'BookmarkResolutionOptions' is not a member type of struct 'FoundationEssentials.URL'
107 | extension URLResourceKey: @retroactive Codable {}
108 | #endif
FoundationEssentials.URL:2:15: note: 'URL' declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct URL : Equatable, Sendable, Hashable {
| `- note: 'URL' declared here
3 | public init?(string: __shared String)
4 | public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:72:20: error: value of type 'URL' has no member 'bookmarkData'
70 | /// Creates bookmark data for the URL.
71 | public mutating func create(with url: URL?) throws {
72 | data = try url?.bookmarkData(options: creationOptions, includingResourceValuesForKeys: keys, relativeTo: baseURL)
| `- error: value of type 'URL' has no member 'bookmarkData'
73 | isStale = false
74 | }
/host/spi-builder-workspace/Sources/FoundationHelpers/URLs/URLBookmark.swift:83:18: error: no exact matches in call to initializer
81 | return nil
82 | }
83 | let url = try URL(resolvingBookmarkData: data, options: resolutionOptions, relativeTo: baseURL, bookmarkDataIsStale: &isStale)
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (string: __shared String, relativeTo: __shared URL?)
| |- note: candidate has partially matching parameter list (fileURLWithPath: __shared String, relativeTo: __shared URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: __shared Data, relativeTo: __shared URL?, isAbsolute: Bool)
| `- note: candidate has partially matching parameter list (filePath: String, directoryHint: URL.DirectoryHint, relativeTo: URL?)
84 | // Create a new bookmark using the returned URL and use it in place of any stored copies of the existing bookmark.
85 | if isStale {
[86/97] Compiling DebuggingHelpers ThreadCounter.swift
[87/97] Compiling FoundationHelpers IndexPath+Extensions.swift
[88/97] Compiling FoundationHelpers Data+Extensions.swift
[89/97] Compiling FoundationHelpers BlockOperation+Extensions.swift
[90/97] Compiling FoundationHelpers OperationQueue+Extensions.swift
[91/97] Compiling FoundationHelpers UserDefault.swift
[92/97] Compiling FoundationHelpers UserDefaultJSONEncoded.swift
[93/97] Compiling FoundationHelpers UserDefaultRawRepresented.swift
[94/97] Compiling FoundationHelpers UserDefaultRepresentable.swift
BUILD FAILURE 6.1 android