Build Information
Failed to build Failable, reference master (b488d5
), with Swift 6.0 for Linux on 31 Oct 2024 11:23:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/failable.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/skelpo/failable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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+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: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 }
/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: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 }
/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: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 }
/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+Sequence.swift
[5/32] Compiling Failable Failable+SignedNumeric.swift
[6/32] Compiling Failable Failable+Strideable.swift
[7/32] Compiling Failable Failable+StringRepresentation.swift
[8/32] Compiling Failable Validation.swift
[9/32] Compiling Failable AppendedValidations.swift
[10/32] Compiling Failable CollectionValidations.swift
[11/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.
[12/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.
[13/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.
[14/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.
[15/32] Compiling Failable Failable+UnsignedInteger.swift
[16/32] Compiling Failable Failable.swift
[17/32] Compiling Failable Operators.swift
[18/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: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 }
/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: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 }
/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: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 }
[19/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: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 }
/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: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 }
/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: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 }
[20/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: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 }
/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: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 }
/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: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 }
[21/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: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 }
/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: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 }
/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: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 }
[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 CodableContainer.swift
/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.
[27/32] Compiling Failable Error.swift
/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.
[28/32] Compiling Failable Failable+BinaryFloatingPoint.swift
/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.
[29/32] Compiling Failable Failable+BinaryInteger.swift
/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.
[30/32] Compiling Failable ComparableValidations.swift
[31/32] Compiling Failable OptionalValidations.swift
[32/32] Compiling Failable StringValidations.swift
BUILD FAILURE 6.0 linux