Build Information
Failed to build Combinatorics, reference 0.1.0 (959fb7
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 01:25:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-combinatorics.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-combinatorics
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 959fb7c refactor main.swift
Cloned https://github.com/dankogai/swift-combinatorics.git
Revision (git rev-parse @):
959fb7cc9688b47b11b2a609c3dc176b6ec4e91c
SUCCESS checkout https://github.com/dankogai/swift-combinatorics.git at 0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-combinatorics",
"name": "Combinatorics",
"url": "https://github.com/dankogai/swift-combinatorics.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-combinatorics",
"dependencies": [
]
}
]
}
Fetching https://github.com/dankogai/swift-combinatorics.git
[1/151] Fetching swift-combinatorics
Fetched https://github.com/dankogai/swift-combinatorics.git from cache (1.79s)
Creating working copy for https://github.com/dankogai/swift-combinatorics.git
Working copy of https://github.com/dankogai/swift-combinatorics.git resolved at 0.1.0 (959fb7c)
warning: '.resolve-product-dependencies': dependency 'swift-combinatorics' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-combinatorics.git
https://github.com/dankogai/swift-combinatorics.git
{
"dependencies" : [
],
"manifest_display_name" : "Combinatorics",
"name" : "Combinatorics",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Combinatorics",
"targets" : [
"Combinatorics"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "CombinatoricsTests",
"module_type" : "SwiftTarget",
"name" : "CombinatoricsTests",
"path" : "Tests/CombinatoricsTests",
"sources" : [
"CombinatoricsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Combinatorics"
],
"type" : "test"
},
{
"c99name" : "Combinatorics",
"module_type" : "SwiftTarget",
"name" : "Combinatorics",
"path" : "Sources/Combinatorics",
"product_memberships" : [
"Combinatorics"
],
"sources" : [
"Combinatorics.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module Combinatorics
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:82:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
80 | public struct CombinatoricsIndex<Index:SignedInteger> {
81 | /// permutation
82 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
83 | public let seed:[SubElement] // immutable
84 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:107:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
105 | }
106 | /// combination
107 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
108 | public let seed:[SubElement] // immutable
109 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:127:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
125 | }
126 | /// BaseN
127 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
128 | public let seed:[SubElement] // immutable
129 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:148:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
146 | }
147 | /// Power Set
148 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
149 | public let seed:[SubElement] // immutable
150 | public let count:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
3 |
[4/6] Compiling Combinatorics Combinatorics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:82:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
80 | public struct CombinatoricsIndex<Index:SignedInteger> {
81 | /// permutation
82 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
83 | public let seed:[SubElement] // immutable
84 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:107:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
105 | }
106 | /// combination
107 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
108 | public let seed:[SubElement] // immutable
109 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:127:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
125 | }
126 | /// BaseN
127 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
128 | public let seed:[SubElement] // immutable
129 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:148:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
146 | }
147 | /// Power Set
148 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
149 | public let seed:[SubElement] // immutable
150 | public let count:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
3 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module Combinatorics
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:82:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
80 | public struct CombinatoricsIndex<Index:SignedInteger> {
81 | /// permutation
82 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
83 | public let seed:[SubElement] // immutable
84 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:107:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
105 | }
106 | /// combination
107 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
108 | public let seed:[SubElement] // immutable
109 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:127:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
125 | }
126 | /// BaseN
127 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
128 | public let seed:[SubElement] // immutable
129 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:148:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
146 | }
147 | /// Power Set
148 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
149 | public let seed:[SubElement] // immutable
150 | public let count:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
3 |
[3/5] Compiling Combinatorics Combinatorics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:82:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
80 | public struct CombinatoricsIndex<Index:SignedInteger> {
81 | /// permutation
82 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
83 | public let seed:[SubElement] // immutable
84 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Permutation<SubElement>' if 'CombinatoricsIndex<Index>.Permutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:107:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
105 | }
106 | /// combination
107 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
108 | public let seed:[SubElement] // immutable
109 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.Combination<SubElement>' if 'CombinatoricsIndex<Index>.Combination<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:127:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
125 | }
126 | /// BaseN
127 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
128 | public let seed:[SubElement] // immutable
129 | public let size:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.BaseN<SubElement>' if 'CombinatoricsIndex<Index>.BaseN<SubElement>' conformed to 'IteratorProtocol'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:148:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
146 | }
147 | /// Power Set
148 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
149 | public let seed:[SubElement] // immutable
150 | public let count:Index
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.PowerSet<SubElement>' if 'CombinatoricsIndex<Index>.PowerSet<SubElement>' conformed to 'IteratorProtocol'
3 |
BUILD FAILURE 6.1 macosSpm