Build Information
Failed to build Failable, reference 0.4.0 (b488d5
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:31:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/failable.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skelpo/failable
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at b488d50 Merge pull request #5 from skelpo/develop
Cloned https://github.com/skelpo/failable.git
Revision (git rev-parse @):
b488d50046d35243a67860bd8499bfc7fe1b8428
SUCCESS checkout https://github.com/skelpo/failable.git at 0.4.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "failable",
"name": "Failable",
"url": "https://github.com/skelpo/failable.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/failable",
"dependencies": [
]
}
]
}
Fetching https://github.com/skelpo/failable.git
[1/747] Fetching failable
Fetched https://github.com/skelpo/failable.git from cache (1.09s)
Creating working copy for https://github.com/skelpo/failable.git
Working copy of https://github.com/skelpo/failable.git resolved at 0.4.0 (b488d50)
warning: '.resolve-product-dependencies': dependency 'failable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/skelpo/failable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] Emitting module Failable
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:27:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
25 |
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
28 | let t = T(value)
29 | try self.init(t)
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 |
38 | /// See [`BinaryInteger.init(truncatingIfNeeded:)`](https://developer.apple.com/documentation/swift/binaryinteger/2925529-init).
39 | public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | let t = T(truncatingIfNeeded: source)
41 | try self.init(t)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: 'T' previously declared here
37 |
38 | /// The underlaying value that has been validated.
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
12 | func distance(from start: Self.Index, to end: Self.Index) -> Int
13 | override var indices: Self.Indices { get }
14 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | override subscript(position: Self.Index) -> Self.Element { get }
16 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
5 | associatedtype Indices
6 | override var indices: Self.Indices { get }
7 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
8 | override subscript(position: Self.Index) -> Self.Element { get }
9 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Error.swift:1:1: warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
1 | extension Failable: Error where T: Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:41:30: warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
37 |
38 | /// The underlaying value that has been validated.
39 | ///
40 | /// - Note: The setter for this property is not public.
41 | public internal(set) var value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
42 |
43 | /// Creates a new `Failable` instance.
[4/32] Compiling Failable AppendedValidations.swift
[5/32] Compiling Failable CollectionValidations.swift
[6/32] Compiling Failable ComparableValidations.swift
[7/32] Compiling Failable Failable+RawRepresentable.swift
[8/32] Compiling Failable Failable+Sequence.swift
[9/32] Compiling Failable Failable+SignedNumeric.swift
[10/32] Compiling Failable Failable+BinaryInteger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 |
38 | /// See [`BinaryInteger.init(truncatingIfNeeded:)`](https://developer.apple.com/documentation/swift/binaryinteger/2925529-init).
39 | public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | let t = T(truncatingIfNeeded: source)
41 | try self.init(t)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: 'T' previously declared here
37 |
38 | /// The underlaying value that has been validated.
[11/32] Compiling Failable Failable+Bool.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 |
38 | /// See [`BinaryInteger.init(truncatingIfNeeded:)`](https://developer.apple.com/documentation/swift/binaryinteger/2925529-init).
39 | public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | let t = T(truncatingIfNeeded: source)
41 | try self.init(t)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: 'T' previously declared here
37 |
38 | /// The underlaying value that has been validated.
[12/32] Compiling Failable Failable+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 |
38 | /// See [`BinaryInteger.init(truncatingIfNeeded:)`](https://developer.apple.com/documentation/swift/binaryinteger/2925529-init).
39 | public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | let t = T(truncatingIfNeeded: source)
41 | try self.init(t)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: 'T' previously declared here
37 |
38 | /// The underlaying value that has been validated.
[13/32] Compiling Failable Failable.swift
[14/32] Compiling Failable Operators.swift
[15/32] Compiling Failable Validation.swift
[16/32] Compiling Failable Failable+Collection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
12 | func distance(from start: Self.Index, to end: Self.Index) -> Int
13 | override var indices: Self.Indices { get }
14 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | override subscript(position: Self.Index) -> Self.Element { get }
16 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
5 | associatedtype Indices
6 | override var indices: Self.Indices { get }
7 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
8 | override subscript(position: Self.Index) -> Self.Element { get }
9 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Error.swift:1:1: warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
1 | extension Failable: Error where T: Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:41:30: warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
37 |
38 | /// The underlaying value that has been validated.
39 | ///
40 | /// - Note: The setter for this property is not public.
41 | public internal(set) var value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
42 |
43 | /// Creates a new `Failable` instance.
[17/32] Compiling Failable Failable+Comparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
12 | func distance(from start: Self.Index, to end: Self.Index) -> Int
13 | override var indices: Self.Indices { get }
14 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | override subscript(position: Self.Index) -> Self.Element { get }
16 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
5 | associatedtype Indices
6 | override var indices: Self.Indices { get }
7 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
8 | override subscript(position: Self.Index) -> Self.Element { get }
9 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Error.swift:1:1: warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
1 | extension Failable: Error where T: Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:41:30: warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
37 |
38 | /// The underlaying value that has been validated.
39 | ///
40 | /// - Note: The setter for this property is not public.
41 | public internal(set) var value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
42 |
43 | /// Creates a new `Failable` instance.
[18/32] Compiling Failable Failable+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
1 | extension Failable: Collection where T: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
2 |
3 | /// See [`Collection.SubSequence`](https://developer.apple.com/documentation/swift/collection/1641276-subsequence)
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
28 | }
29 |
30 | extension Failable: BidirectionalCollection where T: BidirectionalCollection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
31 |
32 | /// See [`BidirectionalCollection.index(before:)`](https://developer.apple.com/documentation/swift/bidirectionalcollection/1783013-index).
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
12 | func distance(from start: Self.Index, to end: Self.Index) -> Int
13 | override var indices: Self.Indices { get }
14 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | override subscript(position: Self.Index) -> Self.Element { get }
16 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
36 | }
37 |
38 | extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
39 |
40 | extension Failable where T: MutableCollection {
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
5 | associatedtype Indices
6 | override var indices: Self.Indices { get }
7 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
8 | override subscript(position: Self.Index) -> Self.Element { get }
9 | override var startIndex: Self.Index { get }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Error.swift:1:1: warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
1 | extension Failable: Error where T: Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as generic struct 'Failable'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable.swift:41:30: warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
34 | /// `Dictionary` and `Array` types are not supported for literal initialization yet because array
35 | /// splatting for variadic parameters is not supported yet.
36 | public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
37 |
38 | /// The underlaying value that has been validated.
39 | ///
40 | /// - Note: The setter for this property is not public.
41 | public internal(set) var value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'Failable' has non-sendable type 'T'; this is an error in the Swift 6 language mode
42 |
43 | /// Creates a new `Failable` instance.
[19/32] Compiling Failable CodableContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:27:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
25 |
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
28 | let t = T(value)
29 | try self.init(t)
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:28:17: error: no exact matches in call to initializer
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
28 | let t = T(value)
| `- error: no exact matches in call to initializer
29 | try self.init(t)
30 | }
Swift.BinaryFloatingPoint:5:5: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 | associatedtype RawExponent : UnsignedInteger
4 | init(sign: FloatingPointSign, exponentBitPattern: Self.RawExponent, significandBitPattern: Self.RawSignificand)
5 | init(_ value: Float)
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
6 | init(_ value: Double)
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
7 | init<Source>(_ value: Source) where Source : BinaryFloatingPoint
8 | init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint
Swift.FloatingPoint:5:5: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 | init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)
4 | init(signOf: Self, magnitudeOf: Self)
5 | init(_ value: Int)
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
6 | init<Source>(_ value: Source) where Source : BinaryInteger
7 | init?<Source>(exactly value: Source) where Source : BinaryInteger
[20/32] Compiling Failable Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:27:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
25 |
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
28 | let t = T(value)
29 | try self.init(t)
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:28:17: error: no exact matches in call to initializer
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
28 | let t = T(value)
| `- error: no exact matches in call to initializer
29 | try self.init(t)
30 | }
Swift.BinaryFloatingPoint:5:5: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 | associatedtype RawExponent : UnsignedInteger
4 | init(sign: FloatingPointSign, exponentBitPattern: Self.RawExponent, significandBitPattern: Self.RawSignificand)
5 | init(_ value: Float)
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
6 | init(_ value: Double)
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
7 | init<Source>(_ value: Source) where Source : BinaryFloatingPoint
8 | init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint
Swift.FloatingPoint:5:5: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 | init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)
4 | init(signOf: Self, magnitudeOf: Self)
5 | init(_ value: Int)
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
6 | init<Source>(_ value: Source) where Source : BinaryInteger
7 | init?<Source>(exactly value: Source) where Source : BinaryInteger
[21/32] Compiling Failable Failable+BinaryFloatingPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:27:26: error: 'Float80' is unavailable: Float80 is not available on target platform.
25 |
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
28 | let t = T(value)
29 | try self.init(t)
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryFloatingPoint.swift:28:17: error: no exact matches in call to initializer
26 | /// See [`BinaryFloatingPoint.init(_:)`](https://developer.apple.com/documentation/swift/binaryfloatingpoint/1852769-init).
27 | public init(_ value: Float80)throws {
28 | let t = T(value)
| `- error: no exact matches in call to initializer
29 | try self.init(t)
30 | }
Swift.BinaryFloatingPoint:5:5: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 | associatedtype RawExponent : UnsignedInteger
4 | init(sign: FloatingPointSign, exponentBitPattern: Self.RawExponent, significandBitPattern: Self.RawSignificand)
5 | init(_ value: Float)
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
6 | init(_ value: Double)
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
7 | init<Source>(_ value: Source) where Source : BinaryFloatingPoint
8 | init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint
Swift.FloatingPoint:5:5: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 | init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)
4 | init(signOf: Self, magnitudeOf: Self)
5 | init(_ value: Int)
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
6 | init<Source>(_ value: Source) where Source : BinaryInteger
7 | init?<Source>(exactly value: Source) where Source : BinaryInteger
[22/32] Compiling Failable Failable+Hashable.swift
[23/32] Compiling Failable Failable+Numeric.swift
[24/32] Compiling Failable Failable+Optional.swift
[25/32] Compiling Failable Failable+Strideable.swift
[26/32] Compiling Failable Failable+StringRepresentation.swift
[27/32] Compiling Failable Failable+UnsignedInteger.swift
[28/32] Compiling Failable Failable+ExpressibleByLiteral.swift
[29/32] Compiling Failable Failable+FixedWidthInteger.swift
[30/32] Compiling Failable Failable+FloatingPoint.swift
[31/32] Compiling Failable OptionalValidations.swift
[32/32] Compiling Failable StringValidations.swift
BUILD FAILURE 6.0 macosSpm