The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Combinatorics, reference master (3c5d67), with Swift 6.1 for Wasm on 27 May 2025 19:30:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-combinatorics.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/dankogai/swift-combinatorics
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3c5d670 update xcode to 12
Cloned https://github.com/dankogai/swift-combinatorics.git
Revision (git rev-parse @):
3c5d670f7dd57ee985c31de3e28641be1d958007
SUCCESS checkout https://github.com/dankogai/swift-combinatorics.git at master
========================================
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
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Combinatorics",
  "name" : "Combinatorics",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/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
/host/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 |
/host/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 |
/host/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 |
/host/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/7] Compiling Combinatorics Combinatorics.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/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: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 |
/host/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 |
/host/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 |
/host/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/6] Compiling Combinatorics Combinatorics.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 wasm