Build Information
Failed to build Failable, reference 0.4.0 (b488d5
), with Swift 6.1 for Wasm on 27 May 2025 12:31:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/failable.git
Reference: 0.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/skelpo/failable.git
https://github.com/skelpo/failable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Failable",
"name" : "Failable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Failable",
"targets" : [
"Failable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FailableTests",
"module_type" : "SwiftTarget",
"name" : "FailableTests",
"path" : "Tests/FailableTests",
"sources" : [
"FailableTests.swift",
"ValidationErrorTests.swift",
"ValidationTests.swift",
"Validations/CollectionTests.swift",
"Validations/ComparableTests.swift",
"Validations/OptionalTests.swift",
"Validations/StringTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Failable"
],
"type" : "test"
},
{
"c99name" : "Failable",
"module_type" : "SwiftTarget",
"name" : "Failable",
"path" : "Sources/Failable",
"product_memberships" : [
"Failable"
],
"sources" : [
"CodableContainer.swift",
"Error.swift",
"Failable+Helpers/Failable+BinaryFloatingPoint.swift",
"Failable+Helpers/Failable+BinaryInteger.swift",
"Failable+Helpers/Failable+Bool.swift",
"Failable+Helpers/Failable+Codable.swift",
"Failable+Helpers/Failable+Collection.swift",
"Failable+Helpers/Failable+Comparable.swift",
"Failable+Helpers/Failable+Error.swift",
"Failable+Helpers/Failable+ExpressibleByLiteral.swift",
"Failable+Helpers/Failable+FixedWidthInteger.swift",
"Failable+Helpers/Failable+FloatingPoint.swift",
"Failable+Helpers/Failable+Hashable.swift",
"Failable+Helpers/Failable+Numeric.swift",
"Failable+Helpers/Failable+Optional.swift",
"Failable+Helpers/Failable+RawRepresentable.swift",
"Failable+Helpers/Failable+Sequence.swift",
"Failable+Helpers/Failable+SignedNumeric.swift",
"Failable+Helpers/Failable+Strideable.swift",
"Failable+Helpers/Failable+StringRepresentation.swift",
"Failable+Helpers/Failable+UnsignedInteger.swift",
"Failable.swift",
"Operators.swift",
"Validation.swift",
"Validations/AppendedValidations.swift",
"Validations/CollectionValidations.swift",
"Validations/ComparableValidations.swift",
"Validations/OptionalValidations.swift",
"Validations/StringValidations.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/29] Emitting module Failable
/host/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 | }
/host/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)
/host/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.
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 |
/host/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 Failable+Bool.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[5/32] Compiling Failable Failable+Codable.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[6/32] Compiling Failable Failable+Collection.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[7/32] Compiling Failable Failable+Comparable.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[8/32] Compiling Failable CodableContainer.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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.
[9/32] Compiling Failable Error.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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.
[10/32] Compiling Failable Failable+BinaryFloatingPoint.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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+BinaryInteger.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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 Validation.swift
[13/32] Compiling Failable AppendedValidations.swift
[14/32] Compiling Failable CollectionValidations.swift
[15/32] Compiling Failable Failable+Sequence.swift
[16/32] Compiling Failable Failable+SignedNumeric.swift
[17/32] Compiling Failable Failable+Strideable.swift
[18/32] Compiling Failable Failable+StringRepresentation.swift
[19/32] Compiling Failable Failable+UnsignedInteger.swift
[20/32] Compiling Failable Failable.swift
[21/32] Compiling Failable Operators.swift
[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+RawRepresentable.swift
[26/32] Compiling Failable Failable+Error.swift
/host/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 |
/host/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.
[27/32] Compiling Failable Failable+ExpressibleByLiteral.swift
/host/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 |
/host/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.
[28/32] Compiling Failable Failable+FixedWidthInteger.swift
/host/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 |
/host/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.
[29/32] Compiling Failable Failable+FloatingPoint.swift
/host/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 |
/host/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.
[30/32] Compiling Failable ComparableValidations.swift
[31/32] Compiling Failable OptionalValidations.swift
[32/32] Compiling Failable StringValidations.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling Failable Failable+Bool.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[3/28] Compiling Failable Failable+Codable.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[4/28] Compiling Failable Failable+Collection.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[5/28] Compiling Failable Failable+Comparable.swift
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/31] Emitting module Failable
/host/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 | }
/host/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)
/host/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.
/host/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)
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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).
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
/host/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 {
/host/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.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: 'subscript(_:)' declared here
4 |
Swift.RandomAccessCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol RandomAccessCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
| `- note: requirement 'subscript(_:)' declared here
3 |
[7/31] Compiling Failable Failable+Hashable.swift
[8/31] Compiling Failable Failable+Numeric.swift
[9/31] Compiling Failable Failable+Optional.swift
[10/31] Compiling Failable Failable+RawRepresentable.swift
[11/31] Compiling Failable ComparableValidations.swift
[12/31] Compiling Failable OptionalValidations.swift
[13/31] Compiling Failable StringValidations.swift
[14/31] Compiling Failable CodableContainer.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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.
[15/31] Compiling Failable Error.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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.
[16/31] Compiling Failable Failable+BinaryFloatingPoint.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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.
[17/31] Compiling Failable Failable+BinaryInteger.swift
/host/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 | }
/host/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.init:2:1: note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Float)}
| `- note: candidate expects value of type 'Float' for parameter #1 (got 'Float80')
3 |
Swift.BinaryFloatingPoint.init:2:1: note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
1 | protocol BinaryFloatingPoint {
2 | init(_ value: Double)}
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float80')
3 |
Swift.FloatingPoint.init:2:1: note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: candidate expects value of type 'Int' for parameter #1 (got 'Float80')
3 |
/host/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)
/host/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.
[18/31] Compiling Failable Failable+Sequence.swift
[19/31] Compiling Failable Failable+SignedNumeric.swift
[20/31] Compiling Failable Failable+Strideable.swift
[21/31] Compiling Failable Failable+StringRepresentation.swift
[22/31] Compiling Failable Failable+UnsignedInteger.swift
[23/31] Compiling Failable Failable.swift
[24/31] Compiling Failable Operators.swift
[25/31] Compiling Failable Validation.swift
[26/31] Compiling Failable AppendedValidations.swift
[27/31] Compiling Failable CollectionValidations.swift
[28/31] Compiling Failable Failable+Error.swift
[29/31] Compiling Failable Failable+ExpressibleByLiteral.swift
[30/31] Compiling Failable Failable+FixedWidthInteger.swift
[31/31] Compiling Failable Failable+FloatingPoint.swift
BUILD FAILURE 6.1 wasm