The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGraphs with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbromberger/swiftgraphs.git
Reference: master
Cloned https://github.com/sbromberger/swiftgraphs.git into spi-builder-workspace
SUCCESS checkout https://github.com/sbromberger/swiftgraphs.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/1024jp/GzipSwift.git
[1/1455] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift.git (0.33s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 4.0.4 (0.54s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 4.0.4
Building for debugging...
[0/1] Compiling system-zlib anchor.c
[2/3] Emitting module Gzip
[3/3] Compiling Gzip Data+Gzip.swift
[6/18] Compiling SwiftGraphs Time.swift
[7/19] Compiling SwiftGraphs radixSort.swift
[8/19] Compiling SwiftGraphs RandomAccessCollectionExtensions.swift
[9/19] Compiling SwiftGraphs SimpleGraph.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/19] 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
        guard let reader = LineReader(path: fileName) else {
                           ^
/host/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:11:5: note: initializer 'init(path:)' is not '@usableFromInline' or public
    init?(path: String) {
    ^
/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
    @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
                                                                               ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
    public func outNeighbors(of vertex: T) -> ArraySlice<T> {
                ^
/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
    @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
                                                                             ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
    public func outNeighbors(of vertex: T) -> ArraySlice<T> {
                ^
/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
    @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
                                                                  ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
    public func outDegree(of vertex: T) -> Int {
                ^
/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
    @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
                                                                ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
    public func outDegree(of vertex: T) -> Int {
                ^
[11/19] Compiling SwiftGraphs UnsafeArray.swift
[12/19] Compiling SwiftGraphs LineReader.swift
[13/19] Compiling SwiftGraphs PriorityQueue.swift
[14/19] Compiling SwiftGraphs AbstractGraph.swift
[15/19] Compiling SwiftGraphs Degeneracy.swift
[16/19] Compiling SwiftGraphs DiGraph.swift
[17/19] Compiling SwiftGraphs Dijkstra.swift
[18/19] 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
        guard let reader = LineReader(path: fileName) else {
                           ^
/host/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:11:5: note: initializer 'init(path:)' is not '@usableFromInline' or public
    init?(path: String) {
    ^
/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
    @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
                                                                               ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
    public func outNeighbors(of vertex: T) -> ArraySlice<T> {
                ^
/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
    @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
                                                                             ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
    public func outNeighbors(of vertex: T) -> ArraySlice<T> {
                ^
/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
    @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
                                                                  ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
    public func outDegree(of vertex: T) -> Int {
                ^
/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
    @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
                                                                ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
    public func outDegree(of vertex: T) -> Int {
                ^
[19/19] 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
        guard let reader = LineReader(path: fileName) else {
                           ^
/host/spi-builder-workspace/Sources/SwiftGraphs/LineReader.swift:11:5: note: initializer 'init(path:)' is not '@usableFromInline' or public
    init?(path: String) {
    ^
/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
    @inlinable public func inNeighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
                                                                               ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
    public func outNeighbors(of vertex: T) -> ArraySlice<T> {
                ^
/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
    @inlinable public func neighbors(of vertex: T) -> ArraySlice<T> { return outNeighbors(of: vertex) }
                                                                             ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:34:17: note: instance method 'outNeighbors(of:)' is not '@usableFromInline' or public
    public func outNeighbors(of vertex: T) -> ArraySlice<T> {
                ^
/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
    @inlinable public func inDegree(of vertex: T) -> Int { return outDegree(of: vertex) }
                                                                  ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
    public func outDegree(of vertex: T) -> Int {
                ^
/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
    @inlinable public func degree(of vertex: T) -> Int { return outDegree(of: vertex) }
                                                                ^
/host/spi-builder-workspace/Sources/SwiftGraphs/SimpleGraph.swift:62:17: note: instance method 'outDegree(of:)' is not '@usableFromInline' or public
    public func outDegree(of vertex: T) -> Int {
                ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1