The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftGraph with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davecom/SwiftGraph.git
Reference: 3.1.0
Cloned https://github.com/davecom/SwiftGraph.git into spi-builder-workspace
SUCCESS checkout https://github.com/davecom/SwiftGraph.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/16] Emitting module SwiftGraph
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:547:20: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static func < <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
                   ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:543:21: note: 'D' previously declared here
struct DijkstraNode<D: Comparable>: Comparable, Equatable {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:551:21: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static func == <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:543:21: note: 'D' previously declared here
struct DijkstraNode<D: Comparable>: Comparable, Equatable {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:135:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    private struct QueueElement<V> {
                                ^
/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:23:32: note: 'V' previously declared here
open class UniqueElementsGraph<V: Equatable & Codable, E: Edge & Equatable>: Graph {
                               ^
/host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift:55:28: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static public func == <W>(lhs: WeightedEdge<W>, rhs: WeightedEdge<W>) -> Bool {
                           ^
/host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift:32:28: note: 'W' previously declared here
public struct WeightedEdge<W: Equatable & Codable>: Edge, CustomStringConvertible, Equatable {
                           ^
[2/18] Compiling SwiftGraph WeightedEdge.swift
/host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift:55:28: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static public func == <W>(lhs: WeightedEdge<W>, rhs: WeightedEdge<W>) -> Bool {
                           ^
/host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift:32:28: note: 'W' previously declared here
public struct WeightedEdge<W: Equatable & Codable>: Edge, CustomStringConvertible, Equatable {
                           ^
[3/18] Compiling SwiftGraph WeightedGraph.swift
/host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift:55:28: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static public func == <W>(lhs: WeightedEdge<W>, rhs: WeightedEdge<W>) -> Bool {
                           ^
/host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift:32:28: note: 'W' previously declared here
public struct WeightedEdge<W: Equatable & Codable>: Edge, CustomStringConvertible, Equatable {
                           ^
[4/18] Compiling SwiftGraph UnweightedEdge.swift
[5/18] Compiling SwiftGraph UnweightedGraph.swift
[6/18] Compiling SwiftGraph Stack.swift
[7/18] Compiling SwiftGraph SwiftPriorityQueue.swift
[8/18] Compiling SwiftGraph Union.swift
/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:135:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    private struct QueueElement<V> {
                                ^
/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:23:32: note: 'V' previously declared here
open class UniqueElementsGraph<V: Equatable & Codable, E: Edge & Equatable>: Graph {
                               ^
[9/18] Compiling SwiftGraph UniqueElementsGraph.swift
/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:135:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    private struct QueueElement<V> {
                                ^
/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:23:32: note: 'V' previously declared here
open class UniqueElementsGraph<V: Equatable & Codable, E: Edge & Equatable>: Graph {
                               ^
[10/18] Compiling SwiftGraph Graph.swift
[11/18] Compiling SwiftGraph MST.swift
[12/18] Compiling SwiftGraph Search.swift
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:547:20: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static func < <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
                   ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:543:21: note: 'D' previously declared here
struct DijkstraNode<D: Comparable>: Comparable, Equatable {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:551:21: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static func == <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:543:21: note: 'D' previously declared here
struct DijkstraNode<D: Comparable>: Comparable, Equatable {
                    ^
[13/18] Compiling SwiftGraph Sort.swift
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:547:20: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static func < <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
                   ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:543:21: note: 'D' previously declared here
struct DijkstraNode<D: Comparable>: Comparable, Equatable {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:551:21: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    static func == <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
                    ^
/host/spi-builder-workspace/Sources/SwiftGraph/Search.swift:543:21: note: 'D' previously declared here
struct DijkstraNode<D: Comparable>: Comparable, Equatable {
                    ^
[14/18] Compiling SwiftGraph Constructors.swift
[15/18] Compiling SwiftGraph Cycle.swift
[16/18] Compiling SwiftGraph Edge.swift
[17/18] Compiling SwiftGraph Queue.swift
[18/18] Compiling SwiftGraph Reversed.swift
Build complete! (8.78s)
Build complete.
Done.

Build Machine: Linux 1