The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGraphs, reference master (7b724c), with Swift 6.2 for Android on 17 Jun 2025 18:53:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbromberger/swiftgraphs.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sbromberger/swiftgraphs.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/1024jp/GzipSwift.git
[16/1557] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.43s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 4.1.0 (1.16s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 4.1.0
Building for debugging...
[0/4] Write sources
[2/4] Compiling system-zlib anchor.c
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/6] Compiling Gzip Data+Gzip.swift
[6/6] Emitting module Gzip
[8/20] Compiling SwiftGraphs LineReader.swift
/host/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:9:48: error: cannot find type 'FILE' in scope
 7 |     public let path: String
 8 |
 9 |     fileprivate let file: UnsafeMutablePointer<FILE>!
   |                                                `- error: cannot find type 'FILE' in scope
10 |
11 |     init?(path: String) {
[9/20] Compiling SwiftGraphs PriorityQueue.swift
/host/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:9:48: error: cannot find type 'FILE' in scope
 7 |     public let path: String
 8 |
 9 |     fileprivate let file: UnsafeMutablePointer<FILE>!
   |                                                `- error: cannot find type 'FILE' in scope
10 |
11 |     init?(path: String) {
[10/20] Compiling SwiftGraphs Edge.swift
/host/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 |         }
/host/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")
/host/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 |
/host/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]
/host/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) }
/host/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]
/host/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 | }
/host/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 |     }
/host/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 |
/host/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 |     }
[11/20] Compiling SwiftGraphs Graph.swift
/host/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 |         }
/host/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")
/host/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 |
/host/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]
/host/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) }
/host/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]
/host/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 | }
/host/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 |     }
/host/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 |
/host/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 |     }
[12/20] Compiling SwiftGraphs RandomAccessCollectionExtensions.swift
[13/20] Compiling SwiftGraphs SimpleGraph.swift
[14/21] Compiling SwiftGraphs Time.swift
[15/21] Compiling SwiftGraphs UnsafeArray.swift
[16/21] Compiling SwiftGraphs radixSort.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Compiling SwiftGraphs AbstractGraph.swift
[18/21] Compiling SwiftGraphs Degeneracy.swift
[19/21] Compiling SwiftGraphs DiGraph.swift
[20/21] Compiling SwiftGraphs Dijkstra.swift
[21/21] Emitting module SwiftGraphs
/host/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 |         }
/host/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")
/host/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 |
/host/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]
/host/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) }
/host/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]
/host/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 | }
/host/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 |     }
/host/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 |
/host/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 |     }
/host/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:9:48: error: cannot find type 'FILE' in scope
 7 |     public let path: String
 8 |
 9 |     fileprivate let file: UnsafeMutablePointer<FILE>!
   |                                                `- error: cannot find type 'FILE' in scope
10 |
11 |     init?(path: String) {
BUILD FAILURE 6.2 android