Build Information
Failed to build SwiftyTopology, reference main (d30a38
), with Swift 6.1 for Android on 28 May 2025 00:10:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/taketo1024/swm-homology.git
Fetching https://github.com/taketo1024/swm-core.git
[1/15984] Fetching swm-core
[481/28464] Fetching swm-core, swm-homology
Fetched https://github.com/taketo1024/swm-homology.git from cache (0.68s)
Fetched https://github.com/taketo1024/swm-core.git from cache (0.68s)
Computing version for https://github.com/taketo1024/swm-homology.git
Computed https://github.com/taketo1024/swm-homology.git at 1.4.0 (1.36s)
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.26s)
Computing version for https://github.com/taketo1024/swm-core.git
Computed https://github.com/taketo1024/swm-core.git at 1.3.1 (2.30s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[359/22550] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (1.32s)
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
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.95s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (0.62s)
Fetching https://github.com/apple/swift-numerics
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (1.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.92s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/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/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-matrix-tools.git
Working copy of https://github.com/taketo1024/swm-matrix-tools.git resolved at 1.3.3
Building for debugging...
[0/10] Write sources
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/34] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/34] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[14/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[15/35] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/35] Compiling InternalCollectionsUtilities Debugging.swift
[17/35] Compiling RealModule Real.swift
[18/35] Compiling RealModule Float+Real.swift
[19/35] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[20/35] Compiling InternalCollectionsUtilities Integer rank.swift
[21/36] Emitting module RealModule
[22/36] Compiling InternalCollectionsUtilities Descriptions.swift
[23/36] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/36] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/36] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/36] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/36] Emitting module InternalCollectionsUtilities
[30/36] Compiling RealModule ElementaryFunctions.swift
[33/36] Compiling RealModule Float16+Real.swift
[34/36] Compiling RealModule Float80+Real.swift
[35/36] Compiling RealModule RealFunctions.swift
[36/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[40/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[41/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[42/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[43/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[44/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[45/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.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/123] Compiling OrderedCollections OrderedDictionary.swift
[54/123] Compiling OrderedCollections OrderedSet+Codable.swift
[55/123] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[56/123] Compiling OrderedCollections OrderedSet+Descriptions.swift
[57/123] Compiling OrderedCollections OrderedSet+Diffing.swift
[58/123] Compiling OrderedCollections OrderedSet+Equatable.swift
[59/123] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[60/123] Compiling OrderedCollections OrderedSet+Hashable.swift
[61/123] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[62/123] Compiling OrderedCollections OrderedDictionary+Elements.swift
[63/123] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[64/126] Compiling Algorithms Windows.swift
[65/126] Compiling OrderedCollections OrderedSet+Insertions.swift
[66/126] Compiling OrderedCollections OrderedSet+Invariants.swift
[67/126] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[68/126] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[69/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[70/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[71/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[72/126] Compiling Algorithms Rotate.swift
[73/126] Compiling Algorithms Stride.swift
[74/126] Compiling Algorithms Suffix.swift
[75/126] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[76/126] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[77/126] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[78/126] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[79/126] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[80/126] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[81/126] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[82/126] Compiling OrderedCollections OrderedDictionary+Values.swift
[83/126] Compiling OrderedCollections OrderedDictionary+Codable.swift
[84/126] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[85/126] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[86/126] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[90/126] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[94/126] Compiling Algorithms Product.swift
[95/126] Compiling Algorithms RandomSample.swift
[96/126] Compiling Algorithms Reductions.swift
[97/126] Compiling Algorithms Trim.swift
[98/126] Compiling Algorithms Unique.swift
[100/126] Compiling OrderedCollections OrderedSet+Sendable.swift
[101/126] Compiling OrderedCollections OrderedSet+SubSequence.swift
[102/126] Compiling OrderedCollections OrderedSet+Testing.swift
[103/126] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[104/126] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[105/126] Compiling OrderedCollections OrderedSet.swift
[106/126] Compiling OrderedCollections _UnsafeBitset.swift
[119/126] Emitting module OrderedCollections
[127/127] Emitting module Algorithms
[129/171] Emitting module SwmCore
[130/176] Compiling SwmCore Real.swift
[131/176] Compiling SwmCore Permutation.swift
[132/176] Compiling SwmCore GenericPolynomial.swift
[133/176] Compiling SwmCore MultivariatePolynomial.swift
[134/176] Compiling SwmCore Polynomial.swift
[135/176] Compiling SwmCore PolynomialQuotient.swift
[136/176] Compiling SwmCore AdditiveGroup.swift
[137/176] Compiling SwmCore EuclideanRing.swift
[138/176] Compiling SwmCore Field.swift
[139/176] Compiling SwmCore FractionField.swift
[140/176] Compiling SwmCore Group.swift
[141/176] Compiling SwmCore MathSet.swift
[142/176] Compiling SwmCore Module.swift
[143/176] Compiling SwmCore Monoid.swift
[144/176] Compiling SwmCore Ring.swift
[145/176] Compiling SwmCore Array.swift
[146/176] Compiling SwmCore Codable.swift
[147/176] Compiling SwmCore Dictionary.swift
[148/176] Compiling SwmCore Combinatorics.swift
[149/176] Compiling SwmCore GraphAlgorithms.swift
[150/176] Compiling SwmCore IntList.swift
[151/176] Compiling SwmCore Operators.swift
[152/176] Compiling SwmCore Random.swift
[153/176] Compiling SwmCore TypeParameters.swift
[154/176] Compiling SwmCore Complex.swift
[155/176] Compiling SwmCore F2.swift
[156/176] Compiling SwmCore Integer.swift
[157/176] Compiling SwmCore IntegerQuotient.swift
[158/176] Compiling SwmCore Quaternion.swift
[159/176] Compiling SwmCore Rational.swift
[160/176] Compiling SwmCore Cache.swift
[161/176] Compiling SwmCore Debug.swift
[162/176] Compiling SwmCore Format.swift
[163/176] Compiling SwmCore Logger.swift
[164/176] Compiling SwmCore Storage.swift
[165/176] Compiling SwmCore RandomAccessCollection.swift
[166/176] Compiling SwmCore Sequence.swift
[167/176] Compiling SwmCore Set.swift
[168/176] Compiling SwmCore String.swift
[169/176] Compiling SwmCore LinearCombination.swift
[170/176] Compiling SwmCore LinearCombinationType.swift
[171/176] Compiling SwmCore TensorGenerator.swift
[172/176] Compiling SwmCore DefaultMatrixImpl.swift
[173/176] Compiling SwmCore Matrix.swift
[174/176] Compiling SwmCore MatrixIF.swift
[175/176] Compiling SwmCore MatrixImpl.swift
[176/176] Compiling SwmCore BitSequence.swift
[178/197] Compiling SwmMatrixTools SparseLUFactorizer.swift
[179/197] Compiling SwmMatrixTools SparseMatrix.swift
[180/199] Compiling SwmMatrixTools LUFactorizable.swift
[181/199] Compiling SwmMatrixTools LUFactorizationResult.swift
[182/199] Compiling SwmMatrixTools LUFactorizer.swift
[183/199] Compiling SwmMatrixTools DefaultSparseMatrixImpl.swift
[184/199] Compiling SwmMatrixTools DefaultSparseMatrix_LU.swift
[185/199] Compiling SwmMatrixTools MatrixIF.swift
[186/199] Compiling SwmMatrixTools MatrixImpl.swift
[187/199] Compiling SwmMatrixTools MatrixPivotFinder.swift
[188/199] Compiling SwmMatrixTools ComputationalRing.swift
[189/199] Compiling SwmMatrixTools DiagonalEliminator.swift
[190/199] Compiling SwmMatrixTools EchelonEliminator.swift
[191/199] Compiling SwmMatrixTools SparseMatrixImpl.swift
[192/199] Compiling SwmMatrixTools LinkedList.swift
[193/199] Compiling SwmMatrixTools MatrixEliminationForm.swift
[194/199] Compiling SwmMatrixTools MatrixEliminationResult.swift
[195/199] Compiling SwmMatrixTools MatrixEliminator.swift
[196/199] Emitting module SwmMatrixTools
[197/199] Compiling SwmMatrixTools SmithEliminator.swift
[198/199] Compiling SwmMatrixTools MatrixElementaryOperations.swift
[199/199] Compiling SwmMatrixTools MatrixEliminationData.swift
[201/211] Compiling SwmHomology HomologyCalculatable.swift
[202/211] Compiling SwmHomology HomologyCalculator.swift
[203/212] Compiling SwmHomology HNFHomologyCalculator.swift
[204/212] Compiling SwmHomology LUHomologyCalculator.swift
[205/212] Compiling SwmHomology ChainMap.swift
[206/212] Compiling SwmHomology Module.swift
[207/212] Compiling SwmHomology ModuleHom.swift
[208/212] Compiling SwmHomology GradedModuleStructure.swift
[209/212] Compiling SwmHomology GridType.swift
[210/212] Emitting module SwmHomology
[211/212] Compiling SwmHomology ModuleStructure.swift
[212/212] Compiling SwmHomology ChainComplex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[214/224] 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 }
[215/224] 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 {
[216/224] 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 {
[217/225] 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 }
[218/225] Compiling SwmTopology SimplicialMap.swift
[219/225] 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 | }
[220/225] Compiling SwmTopology TopologicalChainMap.swift
[221/225] Compiling SwmTopology TopologicalCell.swift
[222/225] Compiling SwmTopology SimplicialChain.swift
[223/225] Compiling SwmTopology SimplicialComplex.swift
[224/225] Compiling SwmTopology SimplicialComplexExamples.swift
[225/225] Compiling SwmTopology SimplicialComplexOperations.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/26] Compiling RealModule Real.swift
[4/26] Compiling RealModule Float80+Real.swift
[5/26] Emitting module RealModule
[6/27] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/27] Compiling InternalCollectionsUtilities Debugging.swift
[8/27] Compiling InternalCollectionsUtilities Descriptions.swift
[9/27] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[10/27] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[11/27] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/27] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/27] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/27] Compiling RealModule RealFunctions.swift
[15/27] Compiling RealModule Float+Real.swift
[16/27] Compiling RealModule Float16+Real.swift
[17/27] Compiling RealModule ElementaryFunctions.swift
[18/28] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/28] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/28] Compiling InternalCollectionsUtilities UInt+reversed.swift
[24/28] Emitting module InternalCollectionsUtilities
[27/28] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/28] Compiling InternalCollectionsUtilities Integer rank.swift
[30/107] Compiling OrderedCollections OrderedDictionary+Elements.swift
[31/107] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[32/107] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[33/110] Compiling OrderedCollections _HashTable+Testing.swift
[34/110] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[35/110] Compiling OrderedCollections _HashTable.swift
[36/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[37/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[38/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[39/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[40/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[41/110] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[42/110] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[43/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[44/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[45/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[46/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[47/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[48/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[49/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[50/117] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[51/117] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[52/117] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[53/117] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[54/117] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[55/117] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[56/117] Compiling OrderedCollections OrderedDictionary+Codable.swift
[57/117] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[64/117] Compiling OrderedCollections OrderedSet+Initializers.swift
[65/117] Compiling OrderedCollections OrderedSet+Insertions.swift
[66/117] Compiling OrderedCollections OrderedSet+Invariants.swift
[67/117] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[68/117] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[69/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[70/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[71/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[72/117] Compiling Algorithms Windows.swift
[73/117] Compiling OrderedCollections OrderedSet+Codable.swift
[74/117] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[75/117] Compiling OrderedCollections OrderedSet+Descriptions.swift
[76/117] Compiling OrderedCollections OrderedSet+Diffing.swift
[77/117] Compiling OrderedCollections OrderedSet+Equatable.swift
[78/117] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[79/117] Compiling OrderedCollections OrderedSet+Hashable.swift
[83/117] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[84/117] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[85/117] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[86/117] Compiling Algorithms Trim.swift
[87/117] Compiling Algorithms Unique.swift
[91/117] Compiling OrderedCollections OrderedSet+Sendable.swift
[92/117] Compiling OrderedCollections OrderedSet+SubSequence.swift
[93/117] Compiling OrderedCollections OrderedSet+Testing.swift
[94/117] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[95/117] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[96/117] Compiling OrderedCollections OrderedSet.swift
[97/117] Compiling OrderedCollections _UnsafeBitset.swift
[98/117] Compiling OrderedCollections _HashTable+Bucket.swift
[99/117] Compiling OrderedCollections _HashTable+BucketIterator.swift
[100/117] Compiling OrderedCollections _HashTable+Constants.swift
[101/117] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[105/117] Compiling OrderedCollections _Hashtable+Header.swift
[116/117] Emitting module OrderedCollections
[118/118] Emitting module Algorithms
[120/162] Compiling SwmCore Module.swift
[121/162] Compiling SwmCore Monoid.swift
[122/162] Compiling SwmCore Ring.swift
[123/162] Compiling SwmCore Array.swift
[124/162] Compiling SwmCore Codable.swift
[125/162] Compiling SwmCore Dictionary.swift
[126/167] Compiling SwmCore AdditiveGroup.swift
[127/167] Compiling SwmCore EuclideanRing.swift
[128/167] Compiling SwmCore Field.swift
[129/167] Compiling SwmCore FractionField.swift
[130/167] Compiling SwmCore Group.swift
[131/167] Compiling SwmCore MathSet.swift
[132/167] Emitting module SwmCore
[133/167] Compiling SwmCore Cache.swift
[134/167] Compiling SwmCore Debug.swift
[135/167] Compiling SwmCore Format.swift
[136/167] Compiling SwmCore Logger.swift
[137/167] Compiling SwmCore Storage.swift
[138/167] Compiling SwmCore RandomAccessCollection.swift
[139/167] Compiling SwmCore Sequence.swift
[140/167] Compiling SwmCore Set.swift
[141/167] Compiling SwmCore String.swift
[142/167] Compiling SwmCore LinearCombination.swift
[143/167] Compiling SwmCore LinearCombinationType.swift
[144/167] Compiling SwmCore TensorGenerator.swift
[145/167] Compiling SwmCore DefaultMatrixImpl.swift
[146/167] Compiling SwmCore Matrix.swift
[147/167] Compiling SwmCore MatrixIF.swift
[148/167] Compiling SwmCore MatrixImpl.swift
[149/167] Compiling SwmCore BitSequence.swift
[150/167] Compiling SwmCore Complex.swift
[151/167] Compiling SwmCore F2.swift
[152/167] Compiling SwmCore Integer.swift
[153/167] Compiling SwmCore IntegerQuotient.swift
[154/167] Compiling SwmCore Quaternion.swift
[155/167] Compiling SwmCore Rational.swift
[156/167] Compiling SwmCore Combinatorics.swift
[157/167] Compiling SwmCore GraphAlgorithms.swift
[158/167] Compiling SwmCore IntList.swift
[159/167] Compiling SwmCore Operators.swift
[160/167] Compiling SwmCore Random.swift
[161/167] Compiling SwmCore TypeParameters.swift
[162/167] Compiling SwmCore Real.swift
[163/167] Compiling SwmCore Permutation.swift
[164/167] Compiling SwmCore GenericPolynomial.swift
[165/167] Compiling SwmCore MultivariatePolynomial.swift
[166/167] Compiling SwmCore Polynomial.swift
[167/167] Compiling SwmCore PolynomialQuotient.swift
[169/188] Compiling SwmMatrixTools SparseLUFactorizer.swift
[170/188] Compiling SwmMatrixTools SparseMatrix.swift
[171/190] Compiling SwmMatrixTools ComputationalRing.swift
[172/190] Compiling SwmMatrixTools DiagonalEliminator.swift
[173/190] Compiling SwmMatrixTools EchelonEliminator.swift
[174/190] Emitting module SwmMatrixTools
[175/190] Compiling SwmMatrixTools LUFactorizable.swift
[176/190] Compiling SwmMatrixTools LUFactorizationResult.swift
[177/190] Compiling SwmMatrixTools LUFactorizer.swift
[178/190] Compiling SwmMatrixTools MatrixIF.swift
[179/190] Compiling SwmMatrixTools MatrixImpl.swift
[180/190] Compiling SwmMatrixTools MatrixPivotFinder.swift
[181/190] Compiling SwmMatrixTools SparseMatrixImpl.swift
[182/190] Compiling SwmMatrixTools LinkedList.swift
[183/190] Compiling SwmMatrixTools SmithEliminator.swift
[184/190] Compiling SwmMatrixTools MatrixElementaryOperations.swift
[185/190] Compiling SwmMatrixTools MatrixEliminationData.swift
[186/190] Compiling SwmMatrixTools DefaultSparseMatrixImpl.swift
[187/190] Compiling SwmMatrixTools DefaultSparseMatrix_LU.swift
[188/190] Compiling SwmMatrixTools MatrixEliminationForm.swift
[189/190] Compiling SwmMatrixTools MatrixEliminationResult.swift
[190/190] Compiling SwmMatrixTools MatrixEliminator.swift
[192/202] Compiling SwmHomology HomologyCalculator.swift
[193/203] Compiling SwmHomology ModuleHom.swift
[194/203] Compiling SwmHomology HomologyCalculatable.swift
[195/203] Compiling SwmHomology HNFHomologyCalculator.swift
[196/203] Compiling SwmHomology ChainMap.swift
[197/203] Compiling SwmHomology Module.swift
[198/203] Compiling SwmHomology GradedModuleStructure.swift
[199/203] Compiling SwmHomology GridType.swift
[200/203] Compiling SwmHomology ModuleStructure.swift
[201/203] Compiling SwmHomology ChainComplex.swift
[202/203] Emitting module SwmHomology
[203/203] Compiling SwmHomology LUHomologyCalculator.swift
[205/215] Compiling SwmTopology TopologicalCell.swift
[206/215] Compiling SwmTopology TopologicalChainMap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[207/216] Compiling SwmTopology Simplex.swift
[208/216] Compiling SwmTopology Vertex.swift
[209/216] 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 }
[210/216] 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/216] 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 | }
[212/216] Compiling SwmTopology SimplicialChain.swift
[213/216] Compiling SwmTopology SimplicialComplex.swift
[214/216] Compiling SwmTopology SimplicialMap.swift
[215/216] Compiling SwmTopology SimplicialComplexExamples.swift
[216/216] Compiling SwmTopology SimplicialComplexOperations.swift
BUILD FAILURE 6.1 android