Build Information
Failed to build SwiftyTopology, reference main (d30a38
), with Swift 6.1 for Linux on 26 Apr 2025 12:08:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taketo1024/swm-topology.git
Reference: main
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/taketo1024/swm-topology
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d30a38e fix warning etc.
Cloned https://github.com/taketo1024/swm-topology.git
Revision (git rev-parse @):
d30a38e9334facfd6366aaadd15a2c99a4cd7fbf
SUCCESS checkout https://github.com/taketo1024/swm-topology.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/taketo1024/swm-topology.git
https://github.com/taketo1024/swm-topology.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swm-core",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/taketo1024/swm-core.git"
},
{
"identity" : "swm-homology",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/taketo1024/swm-homology.git"
}
],
"manifest_display_name" : "SwiftyTopology",
"name" : "SwiftyTopology",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwmTopology",
"targets" : [
"SwmTopology"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwmTopologyTests",
"module_type" : "SwiftTarget",
"name" : "SwmTopologyTests",
"path" : "Tests/SwmTopologyTests",
"sources" : [
"SimplicialCohomologyTests.swift",
"SimplicialHomologyTests.swift"
],
"target_dependencies" : [
"SwmTopology"
],
"type" : "test"
},
{
"c99name" : "SwmTopology",
"module_type" : "SwiftTarget",
"name" : "SwmTopology",
"path" : "Sources/SwmTopology",
"product_dependencies" : [
"SwmCore",
"SwmHomology"
],
"product_memberships" : [
"SwmTopology"
],
"sources" : [
"Basics/Simplex.swift",
"Basics/Vertex.swift",
"Complex/Simplicial/SimplicialChain.swift",
"Complex/Simplicial/SimplicialComplex.swift",
"Complex/Simplicial/SimplicialComplexExamples.swift",
"Complex/Simplicial/SimplicialComplexOperations.swift",
"Complex/Simplicial/SimplicialMap.swift",
"Complex/Topological/TopologicalCell.swift",
"Complex/Topological/TopologicalChainMap.swift",
"Complex/Topological/TopologicalComplex.swift",
"Complex/Topological/TopologicalHomology.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/taketo1024/swm-homology.git
Fetching https://github.com/taketo1024/swm-core.git
[1/12480] Fetching swm-homology
[2/28464] Fetching swm-homology, swm-core
Fetched https://github.com/taketo1024/swm-homology.git from cache (0.43s)
Fetched https://github.com/taketo1024/swm-core.git from cache (0.44s)
Computing version for https://github.com/taketo1024/swm-homology.git
Computed https://github.com/taketo1024/swm-homology.git at 1.4.0 (0.88s)
Fetching https://github.com/taketo1024/swm-matrix-tools.git
[1/800] Fetching swm-matrix-tools
Fetched https://github.com/taketo1024/swm-matrix-tools.git from cache (0.23s)
Computing version for https://github.com/taketo1024/swm-core.git
Computed https://github.com/taketo1024/swm-core.git at 1.3.1 (0.68s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5903] Fetching swift-algorithms
[5904/22145] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.35s)
[3086/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (0.94s)
Computing version for https://github.com/taketo1024/swm-matrix-tools.git
Computed https://github.com/taketo1024/swm-matrix-tools.git at 1.3.3 (1.40s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (0.45s)
Fetching https://github.com/apple/swift-numerics
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.33s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.62s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Creating working copy for https://github.com/taketo1024/swm-matrix-tools.git
Working copy of https://github.com/taketo1024/swm-matrix-tools.git resolved at 1.3.3
Creating working copy for https://github.com/taketo1024/swm-core.git
Working copy of https://github.com/taketo1024/swm-core.git resolved at 1.3.1
Creating working copy for https://github.com/taketo1024/swm-homology.git
Working copy of https://github.com/taketo1024/swm-homology.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Building for debugging...
[0/10] Write sources
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[12/37] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[13/37] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[14/39] Compiling RealModule ElementaryFunctions.swift
[16/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[17/40] Emitting module RealModule
[20/40] Compiling RealModule Real.swift
[21/40] Emitting module InternalCollectionsUtilities
[22/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/40] Compiling InternalCollectionsUtilities Integer rank.swift
[26/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/40] Compiling InternalCollectionsUtilities Debugging.swift
[28/40] Compiling InternalCollectionsUtilities Descriptions.swift
[29/40] Compiling RealModule RealFunctions.swift
[30/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[31/40] Compiling InternalCollectionsUtilities Specialize.swift
[32/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[34/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[35/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/40] Compiling RealModule Float+Real.swift
[37/40] Compiling RealModule Float16+Real.swift
[38/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[39/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[40/40] Compiling RealModule Float80+Real.swift
[43/120] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[44/120] Compiling OrderedCollections _HashTable+Bucket.swift
[45/120] Compiling OrderedCollections _HashTable+BucketIterator.swift
[46/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[47/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[48/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[49/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[50/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[51/123] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[52/123] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[53/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[54/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[55/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[56/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[57/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[58/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[59/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[60/130] Compiling OrderedCollections _HashTable+Constants.swift
[61/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[62/130] Compiling OrderedCollections _HashTable+Testing.swift
[63/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[64/130] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/130] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[66/130] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[67/130] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[68/130] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[69/130] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[70/130] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[71/130] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[72/130] Compiling Algorithms Trim.swift
[73/130] Compiling Algorithms Unique.swift
[74/130] Compiling OrderedCollections OrderedDictionary+Codable.swift
[75/130] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[76/130] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[77/130] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[82/130] Compiling OrderedCollections OrderedSet+Initializers.swift
[83/130] Compiling OrderedCollections OrderedSet+Insertions.swift
[84/130] Compiling OrderedCollections OrderedSet+Invariants.swift
[85/130] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[86/130] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[87/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[88/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[89/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[90/130] Compiling Algorithms Windows.swift
[91/130] Compiling OrderedCollections OrderedSet+Codable.swift
[92/130] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[93/130] Compiling OrderedCollections OrderedSet+Descriptions.swift
[94/130] Compiling OrderedCollections OrderedSet+Diffing.swift
[95/130] Compiling OrderedCollections OrderedSet+Equatable.swift
[96/130] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[97/130] Compiling OrderedCollections OrderedSet+Hashable.swift
[106/130] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[107/130] Compiling OrderedCollections _HashTable.swift
[108/130] Compiling OrderedCollections _Hashtable+Header.swift
[113/130] Compiling OrderedCollections OrderedSet+Sendable.swift
[114/130] Compiling OrderedCollections OrderedSet+SubSequence.swift
[115/130] Compiling OrderedCollections OrderedSet+Testing.swift
[116/130] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[117/130] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[118/130] Compiling OrderedCollections OrderedSet.swift
[119/130] Compiling OrderedCollections _UnsafeBitset.swift
[120/130] Emitting module OrderedCollections
[131/131] Emitting module Algorithms
[133/175] Compiling SwmCore AdditiveGroup.swift
[134/175] Compiling SwmCore EuclideanRing.swift
[135/175] Compiling SwmCore Field.swift
[136/175] Compiling SwmCore FractionField.swift
[137/175] Compiling SwmCore Group.swift
[138/175] Compiling SwmCore MathSet.swift
[139/180] Emitting module SwmCore
[140/180] Compiling SwmCore Combinatorics.swift
[141/180] Compiling SwmCore GraphAlgorithms.swift
[142/180] Compiling SwmCore IntList.swift
[143/180] Compiling SwmCore Operators.swift
[144/180] Compiling SwmCore Random.swift
[145/180] Compiling SwmCore TypeParameters.swift
[146/180] Compiling SwmCore RandomAccessCollection.swift
[147/180] Compiling SwmCore Sequence.swift
[148/180] Compiling SwmCore Set.swift
[149/180] Compiling SwmCore String.swift
[150/180] Compiling SwmCore LinearCombination.swift
[151/180] Compiling SwmCore LinearCombinationType.swift
[152/180] Compiling SwmCore Module.swift
[153/180] Compiling SwmCore Monoid.swift
[154/180] Compiling SwmCore Ring.swift
[155/180] Compiling SwmCore Array.swift
[156/180] Compiling SwmCore Codable.swift
[157/180] Compiling SwmCore Dictionary.swift
[158/180] Compiling SwmCore Cache.swift
[159/180] Compiling SwmCore Debug.swift
[160/180] Compiling SwmCore Format.swift
[161/180] Compiling SwmCore Logger.swift
[162/180] Compiling SwmCore Storage.swift
[163/180] Compiling SwmCore TensorGenerator.swift
[164/180] Compiling SwmCore DefaultMatrixImpl.swift
[165/180] Compiling SwmCore Matrix.swift
[166/180] Compiling SwmCore MatrixIF.swift
[167/180] Compiling SwmCore MatrixImpl.swift
[168/180] Compiling SwmCore BitSequence.swift
[169/180] Compiling SwmCore Real.swift
[170/180] Compiling SwmCore Permutation.swift
[171/180] Compiling SwmCore GenericPolynomial.swift
[172/180] Compiling SwmCore MultivariatePolynomial.swift
[173/180] Compiling SwmCore Polynomial.swift
[174/180] Compiling SwmCore PolynomialQuotient.swift
[175/180] Compiling SwmCore Complex.swift
[176/180] Compiling SwmCore F2.swift
[177/180] Compiling SwmCore Integer.swift
[178/180] Compiling SwmCore IntegerQuotient.swift
[179/180] Compiling SwmCore Quaternion.swift
[180/180] Compiling SwmCore Rational.swift
[182/201] Emitting module SwmMatrixTools
[183/203] Compiling SwmMatrixTools SparseLUFactorizer.swift
[184/203] Compiling SwmMatrixTools SparseMatrix.swift
[185/203] Compiling SwmMatrixTools DefaultSparseMatrixImpl.swift
[186/203] Compiling SwmMatrixTools DefaultSparseMatrix_LU.swift
[187/203] Compiling SwmMatrixTools LUFactorizable.swift
[188/203] Compiling SwmMatrixTools LUFactorizationResult.swift
[189/203] Compiling SwmMatrixTools LUFactorizer.swift
[190/203] Compiling SwmMatrixTools MatrixIF.swift
[191/203] Compiling SwmMatrixTools MatrixImpl.swift
[192/203] Compiling SwmMatrixTools MatrixPivotFinder.swift
[193/203] Compiling SwmMatrixTools SparseMatrixImpl.swift
[194/203] Compiling SwmMatrixTools LinkedList.swift
[195/203] Compiling SwmMatrixTools MatrixEliminationForm.swift
[196/203] Compiling SwmMatrixTools MatrixEliminationResult.swift
[197/203] Compiling SwmMatrixTools MatrixEliminator.swift
[198/203] Compiling SwmMatrixTools ComputationalRing.swift
[199/203] Compiling SwmMatrixTools DiagonalEliminator.swift
[200/203] Compiling SwmMatrixTools EchelonEliminator.swift
[201/203] Compiling SwmMatrixTools SmithEliminator.swift
[202/203] Compiling SwmMatrixTools MatrixElementaryOperations.swift
[203/203] Compiling SwmMatrixTools MatrixEliminationData.swift
[205/215] Compiling SwmHomology HomologyCalculatable.swift
[206/216] Compiling SwmHomology ModuleHom.swift
[207/216] Compiling SwmHomology ChainMap.swift
[208/216] Compiling SwmHomology Module.swift
[209/216] Compiling SwmHomology HNFHomologyCalculator.swift
[210/216] Compiling SwmHomology HomologyCalculator.swift
[211/216] Compiling SwmHomology LUHomologyCalculator.swift
[212/216] Emitting module SwmHomology
[213/216] Compiling SwmHomology GradedModuleStructure.swift
[214/216] Compiling SwmHomology GridType.swift
[215/216] Compiling SwmHomology ModuleStructure.swift
[216/216] Compiling SwmHomology ChainComplex.swift
[218/228] Compiling SwmTopology TopologicalCell.swift
[219/228] Compiling SwmTopology TopologicalChainMap.swift
[220/229] Compiling SwmTopology SimplicialMap.swift
[221/229] Compiling SwmTopology TopologicalHomology.swift
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:14:29: error: cannot find type 'ModuleGrid1' in scope
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
14 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
15 | public typealias Object = Grid.Object
16 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:11:15: error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
9 | import SwmHomology
10 |
11 | public struct TopologicalHomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:40:29: error: cannot find type 'ModuleGrid1' in scope
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
40 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
41 | public typealias Object = Grid.Object
42 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:37:15: error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
35 | }
36 |
37 | public struct TopologicalCohomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
[222/229] Compiling SwmTopology TopologicalComplex.swift
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:87:9: error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
85 |
86 | public var orientationCycle: LinearCombination<𝐙, Cell>? {
87 | orientationCycle(relativeTo: nil, over: 𝐙.self)
| `- error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
88 | }
89 |
:
92 | }
93 |
94 | public func orientationCycle<R: HomologyCalculatable>(relativeTo L: Self? = nil, over: R.Type) -> LinearCombination<R, Cell>? {
| `- note: where 'R' = '𝐙' (aka 'Int')
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:91:9: error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
89 |
90 | public func orientationCycle(relativeTo L: Self) -> LinearCombination<𝐙, Cell>? {
91 | orientationCycle(relativeTo: L, over: 𝐙.self)
| `- error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
92 | }
93 |
94 | public func orientationCycle<R: HomologyCalculatable>(relativeTo L: Self? = nil, over: R.Type) -> LinearCombination<R, Cell>? {
| `- note: where 'R' = '𝐙' (aka 'Int')
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:14:29: error: cannot find type 'ModuleGrid1' in scope
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
14 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
15 | public typealias Object = Grid.Object
16 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:97:9: error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
97 | let top = H[dim]
| `- error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
98 | if top.isFree, top.rank == 1 {
99 | return top.generator(0)
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:97:20: error: referencing subscript 'subscript(_:_:)' on 'GridType' requires the types 'TopologicalHomology<Self, R>.Index' (aka 'Int') and 'IntList<_2>' be equivalent
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
97 | let top = H[dim]
| `- error: referencing subscript 'subscript(_:_:)' on 'GridType' requires the types 'TopologicalHomology<Self, R>.Index' (aka 'Int') and 'IntList<_2>' be equivalent
98 | if top.isFree, top.rank == 1 {
99 | return top.generator(0)
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:51:1: note: where 'Self.Index' = 'TopologicalHomology<Self, R>.Index' (aka 'Int')
49 | }
50 |
51 | extension GridType where Index == IntList<_2> {
| `- note: where 'Self.Index' = 'TopologicalHomology<Self, R>.Index' (aka 'Int')
52 | public subscript(i: Int, j: Int) -> Object {
53 | self[Index(i, j)]
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:97:24: error: missing argument for parameter #2 in subscript
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
97 | let top = H[dim]
| `- error: missing argument for parameter #2 in subscript
98 | if top.isFree, top.rank == 1 {
99 | return top.generator(0)
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:52:12: note: 'subscript(_:_:)' declared here
50 |
51 | extension GridType where Index == IntList<_2> {
52 | public subscript(i: Int, j: Int) -> Object {
| `- note: 'subscript(_:_:)' declared here
53 | self[Index(i, j)]
54 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[223/229] Compiling SwmTopology SimplicialChain.swift
[224/229] Compiling SwmTopology SimplicialComplex.swift
[225/229] Compiling SwmTopology Simplex.swift
/host/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift:11:13: warning: var 'list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import SwmCore
10 |
11 | private var list: [Vertex] = []
| |- warning: var 'list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private var productList: [String: Vertex] = [:]
13 |
/host/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift:12:13: warning: var 'productList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private var list: [Vertex] = []
12 | private var productList: [String: Vertex] = [:]
| |- warning: var 'productList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'productList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'productList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public struct Vertex: Hashable, Comparable, CustomStringConvertible {
[226/229] Compiling SwmTopology Vertex.swift
/host/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift:11:13: warning: var 'list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import SwmCore
10 |
11 | private var list: [Vertex] = []
| |- warning: var 'list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private var productList: [String: Vertex] = [:]
13 |
/host/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift:12:13: warning: var 'productList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private var list: [Vertex] = []
12 | private var productList: [String: Vertex] = [:]
| |- warning: var 'productList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'productList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'productList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public struct Vertex: Hashable, Comparable, CustomStringConvertible {
[227/229] Compiling SwmTopology SimplicialComplexExamples.swift
[228/229] Compiling SwmTopology SimplicialComplexOperations.swift
[229/229] Emitting module SwmTopology
/host/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift:11:13: warning: var 'list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import SwmCore
10 |
11 | private var list: [Vertex] = []
| |- warning: var 'list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private var productList: [String: Vertex] = [:]
13 |
/host/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift:12:13: warning: var 'productList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private var list: [Vertex] = []
12 | private var productList: [String: Vertex] = [:]
| |- warning: var 'productList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'productList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'productList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public struct Vertex: Hashable, Comparable, CustomStringConvertible {
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:14:29: error: cannot find type 'ModuleGrid1' in scope
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
14 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
15 | public typealias Object = Grid.Object
16 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:11:15: error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
9 | import SwmHomology
10 |
11 | public struct TopologicalHomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:40:29: error: cannot find type 'ModuleGrid1' in scope
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
40 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
41 | public typealias Object = Grid.Object
42 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:37:15: error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
35 | }
36 |
37 | public struct TopologicalCohomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling RealModule ElementaryFunctions.swift
[3/29] Compiling RealModule RealFunctions.swift
[4/29] Compiling RealModule Real.swift
[5/29] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[6/29] Compiling InternalCollectionsUtilities Specialize.swift
[7/31] Compiling RealModule Float16+Real.swift
[8/31] Compiling RealModule Float80+Real.swift
[9/31] Compiling RealModule Float+Real.swift
[10/31] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[11/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[13/31] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[14/31] Emitting module RealModule
[15/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/32] Emitting module InternalCollectionsUtilities
[19/32] Compiling InternalCollectionsUtilities Debugging.swift
[20/32] Compiling InternalCollectionsUtilities Descriptions.swift
[22/32] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[23/32] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/32] Compiling InternalCollectionsUtilities Integer rank.swift
[25/32] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/32] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/32] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[34/111] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[35/111] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[36/111] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[37/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[38/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[39/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[40/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[41/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[42/114] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[43/114] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[44/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[45/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[46/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[47/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[48/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[49/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[50/114] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[51/121] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[52/121] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[53/121] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[54/121] Compiling OrderedCollections OrderedDictionary+Elements.swift
[55/121] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[56/121] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[57/121] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[58/121] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[59/121] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[60/121] Compiling Algorithms Trim.swift
[61/121] Compiling Algorithms Unique.swift
[62/121] Compiling Algorithms Windows.swift
[71/121] Compiling OrderedCollections OrderedSet+Initializers.swift
[72/121] Compiling OrderedCollections OrderedSet+Insertions.swift
[73/121] Compiling OrderedCollections OrderedSet+Invariants.swift
[74/121] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[75/121] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[76/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[77/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[78/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[80/121] Compiling OrderedCollections OrderedSet+Codable.swift
[81/121] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[82/121] Compiling OrderedCollections OrderedSet+Descriptions.swift
[83/121] Compiling OrderedCollections OrderedSet+Diffing.swift
[84/121] Compiling OrderedCollections OrderedSet+Equatable.swift
[85/121] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[86/121] Compiling OrderedCollections OrderedSet+Hashable.swift
[87/121] Compiling OrderedCollections OrderedDictionary+Codable.swift
[88/121] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[95/121] Compiling OrderedCollections OrderedSet+Sendable.swift
[96/121] Compiling OrderedCollections OrderedSet+SubSequence.swift
[97/121] Compiling OrderedCollections OrderedSet+Testing.swift
[98/121] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[99/121] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[100/121] Compiling OrderedCollections OrderedSet.swift
[101/121] Compiling OrderedCollections _UnsafeBitset.swift
[102/121] Compiling OrderedCollections _HashTable+Bucket.swift
[103/121] Compiling OrderedCollections _HashTable+BucketIterator.swift
[104/121] Compiling OrderedCollections _HashTable+Constants.swift
[105/121] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[106/121] Compiling OrderedCollections _HashTable+Testing.swift
[107/121] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[108/121] Compiling OrderedCollections _HashTable.swift
[109/121] Compiling OrderedCollections _Hashtable+Header.swift
[120/121] Emitting module OrderedCollections
[121/122] Emitting module Algorithms
[124/166] Compiling SwmCore RandomAccessCollection.swift
[125/166] Compiling SwmCore Sequence.swift
[126/166] Compiling SwmCore Set.swift
[127/166] Compiling SwmCore String.swift
[128/166] Compiling SwmCore LinearCombination.swift
[129/166] Compiling SwmCore LinearCombinationType.swift
[130/171] Emitting module SwmCore
[131/171] Compiling SwmCore Module.swift
[132/171] Compiling SwmCore Monoid.swift
[133/171] Compiling SwmCore Ring.swift
[134/171] Compiling SwmCore Array.swift
[135/171] Compiling SwmCore Codable.swift
[136/171] Compiling SwmCore Dictionary.swift
[137/171] Compiling SwmCore Combinatorics.swift
[138/171] Compiling SwmCore GraphAlgorithms.swift
[139/171] Compiling SwmCore IntList.swift
[140/171] Compiling SwmCore Operators.swift
[141/171] Compiling SwmCore Random.swift
[142/171] Compiling SwmCore TypeParameters.swift
[143/171] Compiling SwmCore Complex.swift
[144/171] Compiling SwmCore F2.swift
[145/171] Compiling SwmCore Integer.swift
[146/171] Compiling SwmCore IntegerQuotient.swift
[147/171] Compiling SwmCore Quaternion.swift
[148/171] Compiling SwmCore Rational.swift
[149/171] Compiling SwmCore Cache.swift
[150/171] Compiling SwmCore Debug.swift
[151/171] Compiling SwmCore Format.swift
[152/171] Compiling SwmCore Logger.swift
[153/171] Compiling SwmCore Storage.swift
[154/171] Compiling SwmCore Real.swift
[155/171] Compiling SwmCore Permutation.swift
[156/171] Compiling SwmCore GenericPolynomial.swift
[157/171] Compiling SwmCore MultivariatePolynomial.swift
[158/171] Compiling SwmCore Polynomial.swift
[159/171] Compiling SwmCore PolynomialQuotient.swift
[160/171] Compiling SwmCore AdditiveGroup.swift
[161/171] Compiling SwmCore EuclideanRing.swift
[162/171] Compiling SwmCore Field.swift
[163/171] Compiling SwmCore FractionField.swift
[164/171] Compiling SwmCore Group.swift
[165/171] Compiling SwmCore MathSet.swift
[166/171] Compiling SwmCore TensorGenerator.swift
[167/171] Compiling SwmCore DefaultMatrixImpl.swift
[168/171] Compiling SwmCore Matrix.swift
[169/171] Compiling SwmCore MatrixIF.swift
[170/171] Compiling SwmCore MatrixImpl.swift
[171/171] Compiling SwmCore BitSequence.swift
[173/192] Compiling SwmMatrixTools ComputationalRing.swift
[174/192] Compiling SwmMatrixTools DiagonalEliminator.swift
[175/192] Compiling SwmMatrixTools EchelonEliminator.swift
[176/194] Emitting module SwmMatrixTools
[177/194] Compiling SwmMatrixTools SparseMatrixImpl.swift
[178/194] Compiling SwmMatrixTools LinkedList.swift
[179/194] Compiling SwmMatrixTools LUFactorizable.swift
[180/194] Compiling SwmMatrixTools LUFactorizationResult.swift
[181/194] Compiling SwmMatrixTools LUFactorizer.swift
[182/194] Compiling SwmMatrixTools SmithEliminator.swift
[183/194] Compiling SwmMatrixTools MatrixElementaryOperations.swift
[184/194] Compiling SwmMatrixTools MatrixEliminationData.swift
[185/194] Compiling SwmMatrixTools SparseLUFactorizer.swift
[186/194] Compiling SwmMatrixTools SparseMatrix.swift
[187/194] Compiling SwmMatrixTools MatrixIF.swift
[188/194] Compiling SwmMatrixTools MatrixImpl.swift
[189/194] Compiling SwmMatrixTools MatrixPivotFinder.swift
[190/194] Compiling SwmMatrixTools DefaultSparseMatrixImpl.swift
[191/194] Compiling SwmMatrixTools DefaultSparseMatrix_LU.swift
[192/194] Compiling SwmMatrixTools MatrixEliminationForm.swift
[193/194] Compiling SwmMatrixTools MatrixEliminationResult.swift
[194/194] Compiling SwmMatrixTools MatrixEliminator.swift
[196/206] Compiling SwmHomology HomologyCalculatable.swift
[197/206] Compiling SwmHomology ModuleHom.swift
[198/207] Compiling SwmHomology HomologyCalculator.swift
[199/207] Compiling SwmHomology HNFHomologyCalculator.swift
[200/207] Compiling SwmHomology ChainMap.swift
[201/207] Compiling SwmHomology Module.swift
[202/207] Compiling SwmHomology LUHomologyCalculator.swift
[203/207] Compiling SwmHomology GradedModuleStructure.swift
[204/207] Compiling SwmHomology GridType.swift
[205/207] Emitting module SwmHomology
[206/207] Compiling SwmHomology ModuleStructure.swift
[207/207] Compiling SwmHomology ChainComplex.swift
[209/219] Compiling SwmTopology SimplicialMap.swift
[210/220] Compiling SwmTopology TopologicalHomology.swift
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:14:29: error: cannot find type 'ModuleGrid1' in scope
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
14 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
15 | public typealias Object = Grid.Object
16 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:11:15: error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
9 | import SwmHomology
10 |
11 | public struct TopologicalHomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:40:29: error: cannot find type 'ModuleGrid1' in scope
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
40 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
41 | public typealias Object = Grid.Object
42 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:37:15: error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
35 | }
36 |
37 | public struct TopologicalCohomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
[211/220] Compiling SwmTopology TopologicalChainMap.swift
[212/220] Compiling SwmTopology TopologicalCell.swift
[213/220] Compiling SwmTopology TopologicalComplex.swift
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:87:9: error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
85 |
86 | public var orientationCycle: LinearCombination<𝐙, Cell>? {
87 | orientationCycle(relativeTo: nil, over: 𝐙.self)
| `- error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
88 | }
89 |
:
92 | }
93 |
94 | public func orientationCycle<R: HomologyCalculatable>(relativeTo L: Self? = nil, over: R.Type) -> LinearCombination<R, Cell>? {
| `- note: where 'R' = '𝐙' (aka 'Int')
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:91:9: error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
89 |
90 | public func orientationCycle(relativeTo L: Self) -> LinearCombination<𝐙, Cell>? {
91 | orientationCycle(relativeTo: L, over: 𝐙.self)
| `- error: instance method 'orientationCycle(relativeTo:over:)' requires that '𝐙' (aka 'Int') conform to 'HomologyCalculatable'
92 | }
93 |
94 | public func orientationCycle<R: HomologyCalculatable>(relativeTo L: Self? = nil, over: R.Type) -> LinearCombination<R, Cell>? {
| `- note: where 'R' = '𝐙' (aka 'Int')
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:14:29: error: cannot find type 'ModuleGrid1' in scope
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
14 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
15 | public typealias Object = Grid.Object
16 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:97:9: error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
97 | let top = H[dim]
| `- error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
98 | if top.isFree, top.rank == 1 {
99 | return top.generator(0)
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:97:20: error: referencing subscript 'subscript(_:_:)' on 'GridType' requires the types 'TopologicalHomology<Self, R>.Index' (aka 'Int') and 'IntList<_2>' be equivalent
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
97 | let top = H[dim]
| `- error: referencing subscript 'subscript(_:_:)' on 'GridType' requires the types 'TopologicalHomology<Self, R>.Index' (aka 'Int') and 'IntList<_2>' be equivalent
98 | if top.isFree, top.rank == 1 {
99 | return top.generator(0)
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:51:1: note: where 'Self.Index' = 'TopologicalHomology<Self, R>.Index' (aka 'Int')
49 | }
50 |
51 | extension GridType where Index == IntList<_2> {
| `- note: where 'Self.Index' = 'TopologicalHomology<Self, R>.Index' (aka 'Int')
52 | public subscript(i: Int, j: Int) -> Object {
53 | self[Index(i, j)]
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift:97:24: error: missing argument for parameter #2 in subscript
95 | let K = self
96 | let H = TopologicalHomology<Self, R>(K, relativeTo: L, withGenerators: true)
97 | let top = H[dim]
| `- error: missing argument for parameter #2 in subscript
98 | if top.isFree, top.rank == 1 {
99 | return top.generator(0)
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:52:12: note: 'subscript(_:_:)' declared here
50 |
51 | extension GridType where Index == IntList<_2> {
52 | public subscript(i: Int, j: Int) -> Object {
| `- note: 'subscript(_:_:)' declared here
53 | self[Index(i, j)]
54 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[214/220] Compiling SwmTopology SimplicialChain.swift
[215/220] Compiling SwmTopology SimplicialComplex.swift
[216/220] Compiling SwmTopology Simplex.swift
[217/220] Compiling SwmTopology Vertex.swift
[218/220] Compiling SwmTopology SimplicialComplexExamples.swift
[219/220] Compiling SwmTopology SimplicialComplexOperations.swift
[220/220] Emitting module SwmTopology
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:14:29: error: cannot find type 'ModuleGrid1' in scope
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
14 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
15 | public typealias Object = Grid.Object
16 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:11:15: error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
9 | import SwmHomology
10 |
11 | public struct TopologicalHomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalHomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
12 | public typealias Index = Int
13 | public typealias BaseModule = LinearCombination<R, Complex.Cell>
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:40:29: error: cannot find type 'ModuleGrid1' in scope
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
40 | public typealias Grid = ModuleGrid1<BaseModule>
| `- error: cannot find type 'ModuleGrid1' in scope
41 | public typealias Object = Grid.Object
42 |
/host/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift:37:15: error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
35 | }
36 |
37 | public struct TopologicalCohomology<Complex: TopologicalComplex, R: HomologyCalculatable>: GradedModuleStructureType {
| |- error: type 'TopologicalCohomology<Complex, R>' does not conform to protocol 'GridType'
| `- note: add stubs for conformance
38 | public typealias BaseModule = DualModule<LinearCombination<R, Complex.Cell>>
39 | public typealias Index = Int
/host/spi-builder-workspace/.build/checkouts/swm-homology/Sources/SwmHomology/Basics/GridType.swift:12:20: note: protocol requires nested type 'Object'
10 | public protocol GridType {
11 | associatedtype Index: AdditiveGroup & Hashable
12 | associatedtype Object
| `- note: protocol requires nested type 'Object'
13 |
14 | subscript(i: Index) -> Object { get }
BUILD FAILURE 6.1 linux