The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftGraph with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davecom/SwiftGraph.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/davecom/SwiftGraph
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ee1dd9 Merge pull request #85 from TizianoCoroneo/tiziano/indegree-outdegree
Cloned https://github.com/davecom/SwiftGraph.git
Revision (git rev-parse @):
7ee1dd9e836713b5bb101517314ce63f1ac3a256
SUCCESS checkout https://github.com/davecom/SwiftGraph.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/davecom/SwiftGraph.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 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 Graph.swift
[3/18] Compiling SwiftGraph MST.swift
[4/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 {
                    ^
[5/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 {
                    ^
[6/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 {
                           ^
[7/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 {
                           ^
[8/18] Compiling SwiftGraph UnweightedEdge.swift
[9/18] Compiling SwiftGraph UnweightedGraph.swift
[10/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 {
                               ^
[11/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 {
                               ^
[12/18] Compiling SwiftGraph Stack.swift
[13/18] Compiling SwiftGraph SwiftPriorityQueue.swift
[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! (7.04s)
Build complete.
Done.