Build Information
Failed to build SwiftHelpers, reference main (ccedc3), with Swift 6.3 for Android on 17 Apr 2026 06:22:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/processed-bits/swift-helpers.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/processed-bits/swift-helpers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version--4F562202D5529B1.txt
[15/55] Emitting module LoggingHelpers
[16/55] Emitting module CoreDataHelpers
[17/55] Compiling CoreDataHelpers NSManagedObject+Extensions.swift
[18/55] Compiling CoreAnimationHelpers CAMediaTiming+Extensions.swift
[19/55] Emitting module CoreAnimationHelpers
[20/55] Compiling CoreAnimationHelpers CALayer+Extensions.swift
[21/56] Compiling CoreDataHelpers NSManagedObjectContext+Extensions.swift
[22/57] Compiling LoggingHelpers ExtendedLogger.swift
[23/57] Compiling LoggingHelpers Logger+ExtendedLogger.swift
[24/57] Compiling LoggingHelpers String+Logging.swift
[27/57] Compiling LoggingHelpers LegacyLogger.swift
[28/57] Compiling LoggingHelpers LegacyLogger+ExtendedLogger.swift
[30/58] Compiling TestingShared Tag+Shared.swift
[31/58] Emitting module TestingShared
[32/58] Compiling TestingShared Comment+Shared.swift
[34/59] Compiling SynchronizationHelpers UnfairLocked.swift
[35/59] Emitting module SynchronizationHelpers
[36/59] Compiling StandardLibraryHelpers StringProtocol+Padding.swift
[37/60] Emitting module StandardLibraryHelpers
[38/60] Compiling StandardLibraryHelpers Collection+Extensions.swift
[39/60] Compiling StandardLibraryHelpers KeyValuePairs+Extensions.swift
[40/60] Compiling StandardLibraryHelpers Unicode.Scalar+Extensions.swift
[41/60] Compiling StandardLibraryHelpers Regex+Extensions.swift
[42/60] Compiling StandardLibraryHelpers Sequence+Extensions.swift
[43/60] Compiling StandardLibraryHelpers StringProtocol+Extensions.swift
[44/60] Compiling StandardLibraryHelpers String+Padding.swift
[45/60] Compiling StandardLibraryHelpers String+Truncation.swift
[46/60] Compiling StandardLibraryHelpers Set+Extensions.swift
[47/60] Compiling StandardLibraryHelpers String+Extensions.swift
[48/60] Compiling FoundationLegacyHelpers String+NSRegularExpression.swift
[49/60] Compiling FoundationLegacyHelpers NSTextCheckingResult+Extensions.swift
[50/60] Compiling StandardLibraryHelpers StringProtocol+Case.swift
[51/60] Compiling ExitCodeHelpers ExitCodeProvidingError.swift
[52/61] Compiling ExitCodeHelpers exit.swift
[53/61] Emitting module ExitCodeHelpers
[54/61] Compiling ExitCodeHelpers ExitCodeProtocol.swift
[55/61] Compiling SynchronizationHelpers AtomicConcurrent.swift
[56/62] Compiling SynchronizationHelpers Locked.swift
[57/62] Compiling SynchronizationHelpers RecursiveLocked.swift
[58/62] Compiling SynchronizationHelpers AtomicSerial.swift
[60/63] Emitting module FoundationLegacyHelpers
[61/63] Compiling FoundationLegacyHelpers NSRegularExpression+Extensions.swift
[65/106] Compiling OutputHelpers BufferedOutputProviding.swift
[66/106] Compiling OutputHelpers Process+Output.swift
[67/106] Compiling OutputHelpers BufferedOutputCollector.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/106] 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 }
[69/106] Compiling OutputHelpers FileHandle+TextOutputStream.swift
[70/106] Compiling OutputHelpers OutputStreamKind.swift
[71/106] Compiling OutputHelpers print.swift
[72/106] Compiling DebuggingHelpers dumpOutput.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/106] 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 [#NominalTypes]
6 |
7 | /// Response status helpers.
8 | public extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
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?)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[74/106] 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 {
[75/106] 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 {
[76/106] 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 {
[77/106] 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:123:13: error: cannot infer contextual base in reference to member 'abbreviated'
121 | public static var formatStyle: Measurement<UnitDuration>.FormatStyle {
122 | .measurement(
123 | width: .abbreviated,
| `- error: cannot infer contextual base in reference to member 'abbreviated'
124 | numberFormatStyle: .number
125 | .precision(.fractionLength(3))
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:124:25: error: cannot infer contextual base in reference to member 'number'
122 | .measurement(
123 | width: .abbreviated,
124 | numberFormatStyle: .number
| `- error: cannot infer contextual base in reference to member 'number'
125 | .precision(.fractionLength(3))
126 | )
/host/spi-builder-workspace/Sources/DebuggingHelpers/Stopwatch.swift:125:18: error: cannot infer contextual base in reference to member 'fractionLength'
123 | width: .abbreviated,
124 | numberFormatStyle: .number
125 | .precision(.fractionLength(3))
| `- error: cannot infer contextual base in reference to member 'fractionLength'
126 | )
127 | }
/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 }
[78/106] Compiling DebuggingHelpers CallCounter.swift
[79/109] Compiling DebuggingHelpers Thread+Debug.swift
[80/109] Compiling DebuggingHelpers ThreadCounter.swift
[81/109] 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
[82/109] Compiling OutputHelpers BufferedOutput.swift
[83/109] Emitting module OutputHelpers
error: cancelled
BUILD FAILURE 6.3 android