The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyTopology, reference main (d30a38), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 17:38:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taketo1024/swm-topology.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/taketo1024/swm-topology.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 305]
[Planning deferred tasks]
[59 / 131] Algorithms
[63 / 131]
[67 / 133] _NumericsShims
[73 / 160]
[84 / 160] InternalCollectionsUtilities
[85 / 160] RealModule
[102 / 160] InternalCollectionsUtilities
[111 / 162] InternalCollectionsUtilities
[121 / 184] OrderedCollections
[123 / 184] OrderedCollections
[124 / 184] Algorithms
[128 / 184] OrderedCollections
[131 / 184] InternalCollectionsUtilities
[132 / 184] OrderedCollections
[135 / 184] OrderedCollections
[150 / 185] Algorithms
[152 / 185] SwmCore
[160 / 228]
[165 / 228]
[168 / 228]
[169 / 228]
[173 / 228]
[175 / 228]
[178 / 228]
[181 / 228]
[183 / 228]
[184 / 228]
[195 / 228] SwmCore
[202 / 229] SwmCore
[202 / 229] SwmMatrixTools
[207 / 240] SwmMatrixTools
[208 / 240] SwmMatrixTools
[211 / 240] SwmMatrixTools
[220 / 241]
[220 / 241] SwmCore
[222 / 241] SwmMatrixTools
[235 / 252] SwmHomology
[242 / 253] SwmHomology
[244 / 253] SwmHomology
[244 / 253] SwmTopology
[255 / 264] SwmTopology
Fetching https://github.com/taketo1024/swm-core.git
Fetching https://github.com/taketo1024/swm-homology.git
[1/15984] Fetching swm-core
[2/28464] Fetching swm-core, swm-homology
Fetched https://github.com/taketo1024/swm-core.git (1.83s)
Fetched https://github.com/taketo1024/swm-homology.git (1.83s)
Computing version for https://github.com/taketo1024/swm-homology.git
Computed https://github.com/taketo1024/swm-homology.git at 1.4.0 (2.53s)
Fetching https://github.com/taketo1024/swm-matrix-tools.git
[1/800] Fetching swm-matrix-tools
Fetched https://github.com/taketo1024/swm-matrix-tools.git (1.10s)
Computing version for https://github.com/taketo1024/swm-core.git
Computed https://github.com/taketo1024/swm-core.git at 1.3.1 (1.80s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6140] Fetching swift-algorithms
[1045/33414] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git (2.75s)
Fetched https://github.com/apple/swift-collections.git (2.75s)
Computing version for https://github.com/taketo1024/swm-matrix-tools.git
Computed https://github.com/taketo1024/swm-matrix-tools.git at 1.3.3 (3.44s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (0.64s)
Fetching https://github.com/apple/swift-numerics
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.37s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (2.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.74s)
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/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-core.git
Working copy of https://github.com/taketo1024/swm-core.git resolved at 1.3.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile TopologicalHomology.swift
/Users/admin/builder/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 |
/Users/admin/builder/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>
SwmHomology.GridType.Object:2:16: note: protocol requires nested type 'Object'
1 | protocol GridType {
2 | associatedtype Object}
  |                `- note: protocol requires nested type 'Object'
3 |
/Users/admin/builder/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 |
/Users/admin/builder/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
SwmHomology.GridType.Object:2:16: note: protocol requires nested type 'Object'
1 | protocol GridType {
2 | associatedtype Object}
  |                `- note: protocol requires nested type 'Object'
3 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Basics/Simplex.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Basics/Vertex.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Simplicial/SimplicialChain.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Simplicial/SimplicialComplex.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Simplicial/SimplicialComplexExamples.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Simplicial/SimplicialComplexOperations.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Simplicial/SimplicialMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalCell.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalChainMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalComplex.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwmTopology/Complex/Topological/TopologicalHomology.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/TopologicalHomology.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/TopologicalHomology.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/TopologicalHomology.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/TopologicalHomology.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/SwmTopology-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwmTopology -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/SwmTopology_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/TopologicalHomology.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/SwmTopology.swiftmodule -index-unit-output-path /SwiftyTopology.build/Debug/SwmTopology-t.build/Objects-normal/arm64/TopologicalHomology.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm