The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGraphs with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/sbromberger/swiftgraphs.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/1024jp/GzipSwift.git
[1/1468] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.25s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 4.0.4 (0.44s)
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/4] Write sources
[2/4] Compiling system-zlib anchor.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling Gzip Data+Gzip.swift
[6/6] Emitting module Gzip
[8/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
        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 {
                ^
[9/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
        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 {
                ^
[10/21] Compiling SwiftGraphs LineReader.swift
[11/21] Compiling SwiftGraphs PriorityQueue.swift
[12/21] Compiling SwiftGraphs RandomAccessCollectionExtensions.swift
[13/21] Compiling SwiftGraphs SimpleGraph.swift
[14/21] Compiling SwiftGraphs radixSort.swift
[15/21] Compiling SwiftGraphs Time.swift
[16/21] Compiling SwiftGraphs UnsafeArray.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
        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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling SwiftGraphs Edge.swift
[3/4] 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 {
                ^
[4/4] 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 {
                ^
[5/12] Compiling SwiftGraphs SimpleGraph.swift
[6/12] Compiling SwiftGraphs RandomAccessCollectionExtensions.swift
[7/12] Compiling SwiftGraphs PriorityQueue.swift
[8/12] Compiling SwiftGraphs UnsafeArray.swift
[9/12] Compiling SwiftGraphs Dijkstra.swift
[10/12] Compiling SwiftGraphs Degeneracy.swift
[11/12] Compiling SwiftGraphs AbstractGraph.swift
[12/12] Compiling SwiftGraphs DiGraph.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2