The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGraphs, reference master (7b724c), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 15:27:57 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbromberger/swiftgraphs.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbromberger/swiftgraphs
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7b724c4 4.2 only, with @inlinable
Cloned https://github.com/sbromberger/swiftgraphs.git
Revision (git rev-parse @):
7b724c459cce090963cba639e3252a044959b85c
SUCCESS checkout https://github.com/sbromberger/swiftgraphs.git at master
Fetching https://github.com/1024jp/GzipSwift.git
[1/1557] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.84s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 4.0.4 (1.58s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 4.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftgraphs",
      "name": "SwiftGraphs",
      "url": "https://github.com/sbromberger/swiftgraphs.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftgraphs",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "gzipswift",
          "name": "Gzip",
          "url": "https://github.com/1024jp/GzipSwift.git",
          "version": "4.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GzipSwift",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sbromberger/swiftgraphs.git
[1/486] Fetching swiftgraphs
Fetched https://github.com/sbromberger/swiftgraphs.git from cache (0.95s)
Fetching https://github.com/1024jp/GzipSwift.git from cache
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.44s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 4.1.0 (0.49s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 4.1.0
Creating working copy for https://github.com/sbromberger/swiftgraphs.git
Working copy of https://github.com/sbromberger/swiftgraphs.git resolved at master (7b724c4)
warning: '.resolve-product-dependencies': dependency 'swiftgraphs' is not used by any target
Found 1 product dependencies
  - Gzip
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sbromberger/swiftgraphs.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Compiling system-zlib anchor.c
[3/4] Write swift-version--6988338F2F200930.txt
[5/6] Compiling Gzip Data+Gzip.swift
[6/6] Emitting module Gzip
[7/19] Compiling SwiftGraphs Time.swift
[8/19] Compiling SwiftGraphs SimpleGraph.swift
[9/19] Compiling SwiftGraphs UnsafeArray.swift
[10/19] Compiling SwiftGraphs PriorityQueue.swift
[11/19] Compiling SwiftGraphs LineReader.swift
[12/19] Compiling SwiftGraphs RandomAccessCollectionExtensions.swift
[13/20] Compiling SwiftGraphs radixSort.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/20] Compiling SwiftGraphs AbstractGraph.swift
[15/20] Compiling SwiftGraphs Degeneracy.swift
[16/20] Emitting module SwiftGraphs
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:80:28: error: initializer 'init(path:)' is internal and cannot be referenced from an '@inlinable' function
 78 |         let offset = oneIndexed ? -1 : 0
 79 |
 80 |         guard let reader = LineReader(path: fileName) else {
    |                            `- error: initializer 'init(path:)' is internal and cannot be referenced from an '@inlinable' function
 81 |             fatalError("error opening file \(fileName)")
 82 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:11:5: note: initializer 'init(path:)' is not '@usableFromInline' or public
 9 |     fileprivate let file: UnsafeMutablePointer<FILE>!
10 |
11 |     init?(path: String) {
   |     `- note: initializer 'init(path:)' is not '@usableFromInline' or public
12 |         self.path = path
13 |         file = fopen(path, "r")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:156:80: error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
154 |     }
155 |
156 |     @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
    |                                                                                `- error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
32 |     }
33 |
34 |     public func outNeighbors(of vertex: T) -> ArraySlice<T> {
   |                 `- note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
35 |         let range = vecRange(Array<T>.Index(vertex))
36 |         return rowidx[range]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:157:78: error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
155 |
156 |     @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
    |                                                                              `- error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
32 |     }
33 |
34 |     public func outNeighbors(of vertex: T) -> ArraySlice<T> {
   |                 `- note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
35 |         let range = vecRange(Array<T>.Index(vertex))
36 |         return rowidx[range]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:159:67: error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
    |                                                                   `- error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
160 |     @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
60 |     }
61 |
62 |     public func outDegree(of vertex: T) -> Int {
   |                 `- note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
63 |         return colptr[Int(vertex) + 1] - colptr[Int(vertex)]
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:160:65: error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
160 |     @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
    |                                                                 `- error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
60 |     }
61 |
62 |     public func outDegree(of vertex: T) -> Int {
   |                 `- note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
63 |         return colptr[Int(vertex) + 1] - colptr[Int(vertex)]
64 |     }
[17/20] Compiling SwiftGraphs DiGraph.swift
[18/20] Compiling SwiftGraphs Dijkstra.swift
[19/20] Compiling SwiftGraphs Edge.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:80:28: error: initializer 'init(path:)' is internal and cannot be referenced from an '@inlinable' function
 78 |         let offset = oneIndexed ? -1 : 0
 79 |
 80 |         guard let reader = LineReader(path: fileName) else {
    |                            `- error: initializer 'init(path:)' is internal and cannot be referenced from an '@inlinable' function
 81 |             fatalError("error opening file \(fileName)")
 82 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:11:5: note: initializer 'init(path:)' is not '@usableFromInline' or public
 9 |     fileprivate let file: UnsafeMutablePointer<FILE>!
10 |
11 |     init?(path: String) {
   |     `- note: initializer 'init(path:)' is not '@usableFromInline' or public
12 |         self.path = path
13 |         file = fopen(path, "r")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:156:80: error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
154 |     }
155 |
156 |     @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
    |                                                                                `- error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
32 |     }
33 |
34 |     public func outNeighbors(of vertex: T) -> ArraySlice<T> {
   |                 `- note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
35 |         let range = vecRange(Array<T>.Index(vertex))
36 |         return rowidx[range]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:157:78: error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
155 |
156 |     @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
    |                                                                              `- error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
32 |     }
33 |
34 |     public func outNeighbors(of vertex: T) -> ArraySlice<T> {
   |                 `- note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
35 |         let range = vecRange(Array<T>.Index(vertex))
36 |         return rowidx[range]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:159:67: error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
    |                                                                   `- error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
160 |     @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
60 |     }
61 |
62 |     public func outDegree(of vertex: T) -> Int {
   |                 `- note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
63 |         return colptr[Int(vertex) + 1] - colptr[Int(vertex)]
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:160:65: error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
160 |     @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
    |                                                                 `- error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
60 |     }
61 |
62 |     public func outDegree(of vertex: T) -> Int {
   |                 `- note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
63 |         return colptr[Int(vertex) + 1] - colptr[Int(vertex)]
64 |     }
[20/20] Compiling SwiftGraphs Graph.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:80:28: error: initializer 'init(path:)' is internal and cannot be referenced from an '@inlinable' function
 78 |         let offset = oneIndexed ? -1 : 0
 79 |
 80 |         guard let reader = LineReader(path: fileName) else {
    |                            `- error: initializer 'init(path:)' is internal and cannot be referenced from an '@inlinable' function
 81 |             fatalError("error opening file \(fileName)")
 82 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:11:5: note: initializer 'init(path:)' is not '@usableFromInline' or public
 9 |     fileprivate let file: UnsafeMutablePointer<FILE>!
10 |
11 |     init?(path: String) {
   |     `- note: initializer 'init(path:)' is not '@usableFromInline' or public
12 |         self.path = path
13 |         file = fopen(path, "r")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:156:80: error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
154 |     }
155 |
156 |     @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
    |                                                                                `- error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
32 |     }
33 |
34 |     public func outNeighbors(of vertex: T) -> ArraySlice<T> {
   |                 `- note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
35 |         let range = vecRange(Array<T>.Index(vertex))
36 |         return rowidx[range]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:157:78: error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
155 |
156 |     @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
    |                                                                              `- error: instance method 'outNeighbors(of:)' is internal and cannot be referenced from an '@inlinable' function
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
32 |     }
33 |
34 |     public func outNeighbors(of vertex: T) -> ArraySlice<T> {
   |                 `- note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
35 |         let range = vecRange(Array<T>.Index(vertex))
36 |         return rowidx[range]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:159:67: error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
157 |     @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
    |                                                                   `- error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
160 |     @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
60 |     }
61 |
62 |     public func outDegree(of vertex: T) -> Int {
   |                 `- note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
63 |         return colptr[Int(vertex) + 1] - colptr[Int(vertex)]
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/Graph.swift:160:65: error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
158 |
159 |     @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
160 |     @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
    |                                                                 `- error: instance method 'outDegree(of:)' is internal and cannot be referenced from an '@inlinable' function
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
60 |     }
61 |
62 |     public func outDegree(of vertex: T) -> Int {
   |                 `- note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
63 |         return colptr[Int(vertex) + 1] - colptr[Int(vertex)]
64 |     }
BUILD FAILURE 6.3 macosSpm