Build Information
Failed to build Combinatorics, reference 6.0.0 (f928db), with Swift 6.1 for Wasm on 15 Aug 2026 18:18:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-combinatorics.git
Reference: 6.0.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/dankogai/swift-combinatorics
* tag 6.0.0 -> FETCH_HEAD
HEAD is now at f928db2 Bump version to 6.0.0
Cloned https://github.com/dankogai/swift-combinatorics.git
Revision (git rev-parse @):
f928db2dd1fb6401e73389a186a65cdad427cc0a
SUCCESS checkout https://github.com/dankogai/swift-combinatorics.git at 6.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-combinatorics.git
https://github.com/dankogai/swift-combinatorics.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module Combinatorics
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:100:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
98 | public struct CombinatoricsIndex<Index:SignedInteger> {
99 | /// permutation
100 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
101 | public let seed:[SubElement] // immutable
102 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:126:19: error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
124 | }
125 | /// permutations of a multiset — duplicate elements yield each distinct ordering only once
126 | public struct UniquePermutation<SubElement:Hashable> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
127 | public let seed:[SubElement] // immutable
128 | 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>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:182:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
180 | }
181 | /// combination
182 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
183 | public let seed:[SubElement] // immutable
184 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:284:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
282 | }
283 | /// BaseN
284 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
285 | public let seed:[SubElement] // immutable
286 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:305:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
303 | }
304 | /// Power Set
305 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
306 | public let seed:[SubElement] // immutable
307 | 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/7] Compiling Combinatorics Combinatorics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:100:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
98 | public struct CombinatoricsIndex<Index:SignedInteger> {
99 | /// permutation
100 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
101 | public let seed:[SubElement] // immutable
102 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:126:19: error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
124 | }
125 | /// permutations of a multiset — duplicate elements yield each distinct ordering only once
126 | public struct UniquePermutation<SubElement:Hashable> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
127 | public let seed:[SubElement] // immutable
128 | 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>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:182:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
180 | }
181 | /// combination
182 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
183 | public let seed:[SubElement] // immutable
184 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:284:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
282 | }
283 | /// BaseN
284 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
285 | public let seed:[SubElement] // immutable
286 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:305:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
303 | }
304 | /// Power Set
305 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
306 | public let seed:[SubElement] // immutable
307 | 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 ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module Combinatorics
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:100:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
98 | public struct CombinatoricsIndex<Index:SignedInteger> {
99 | /// permutation
100 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
101 | public let seed:[SubElement] // immutable
102 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:126:19: error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
124 | }
125 | /// permutations of a multiset — duplicate elements yield each distinct ordering only once
126 | public struct UniquePermutation<SubElement:Hashable> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
127 | public let seed:[SubElement] // immutable
128 | 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>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:182:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
180 | }
181 | /// combination
182 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
183 | public let seed:[SubElement] // immutable
184 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:284:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
282 | }
283 | /// BaseN
284 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
285 | public let seed:[SubElement] // immutable
286 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:305:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
303 | }
304 | /// Power Set
305 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
306 | public let seed:[SubElement] // immutable
307 | 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/6] Compiling Combinatorics Combinatorics.swift
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:100:19: error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
98 | public struct CombinatoricsIndex<Index:SignedInteger> {
99 | /// permutation
100 | public struct Permutation<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Permutation<SubElement>' does not conform to protocol 'Sequence'
101 | public let seed:[SubElement] // immutable
102 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:126:19: error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
124 | }
125 | /// permutations of a multiset — duplicate elements yield each distinct ordering only once
126 | public struct UniquePermutation<SubElement:Hashable> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' does not conform to protocol 'Sequence'
127 | public let seed:[SubElement] // immutable
128 | 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>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' if 'CombinatoricsIndex<Index>.UniquePermutation<SubElement>' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:182:19: error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
180 | }
181 | /// combination
182 | public struct Combination<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.Combination<SubElement>' does not conform to protocol 'Sequence'
183 | public let seed:[SubElement] // immutable
184 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:284:19: error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
282 | }
283 | /// BaseN
284 | public struct BaseN<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.BaseN<SubElement>' does not conform to protocol 'Sequence'
285 | public let seed:[SubElement] // immutable
286 | 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 |
/host/spi-builder-workspace/Sources/Combinatorics/Combinatorics.swift:305:19: error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
303 | }
304 | /// Power Set
305 | public struct PowerSet<SubElement> : CombinatoricsType, Sequence {
| `- error: type 'CombinatoricsIndex<Index>.PowerSet<SubElement>' does not conform to protocol 'Sequence'
306 | public let seed:[SubElement] // immutable
307 | 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 wasm