Build Information
Failed to build SwiftGraph with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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: 6.0
Building package at path: $workDir
https://github.com/davecom/SwiftGraph.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] 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 the Swift 6 language mode
541 | /// Represents a node in the priority queue used
542 | /// for selecting the next
543 | struct DijkstraNode<D: Comparable>: Comparable, Equatable {
| `- note: 'D' previously declared here
544 | let vertex: Int
545 | let distance: D
546 |
547 | static func < <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
548 | return lhs.distance < rhs.distance
549 | }
/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 the Swift 6 language mode
541 | /// Represents a node in the priority queue used
542 | /// for selecting the next
543 | struct DijkstraNode<D: Comparable>: Comparable, Equatable {
| `- note: 'D' previously declared here
544 | let vertex: Int
545 | let distance: D
:
549 | }
550 |
551 | static func == <D>(lhs: DijkstraNode<D>, rhs: DijkstraNode<D>) -> Bool {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
552 | return lhs.distance == rhs.distance
553 | }
/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 the Swift 6 language mode
21 |
22 | /// An implementation Graph that ensures there are no pairs of equal vertices and no repeated edges.
23 | open class UniqueElementsGraph<V: Equatable & Codable, E: Edge & Equatable>: Graph {
| `- note: 'V' previously declared here
24 | public var vertices: [V] = [V]()
25 | public var edges: [[E]] = [[E]]() //adjacency lists
:
133 | }
134 |
135 | private struct QueueElement<V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
136 | let v: V
137 | let previousIndex: Int
/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 the Swift 6 language mode
30 |
31 | /// A weighted edge, who's weight subscribes to Comparable.
32 | public struct WeightedEdge<W: Equatable & Codable>: Edge, CustomStringConvertible, Equatable {
| `- note: 'W' previously declared here
33 | public var u: Int
34 | public var v: Int
:
53 |
54 | //MARK: Operator Overloads
55 | static public func == <W>(lhs: WeightedEdge<W>, rhs: WeightedEdge<W>) -> Bool {
| `- warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | return lhs.u == rhs.u && lhs.v == rhs.v && lhs.weight == rhs.weight
57 | }
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/AST/Decl.cpp:1819: bool swift::ExtensionDecl::isWrittenWithConstraints() const: Assertion `extReqs.size() == typeReqs.size()' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftGraph/Constructors.swift /host/spi-builder-workspace/Sources/SwiftGraph/Cycle.swift /host/spi-builder-workspace/Sources/SwiftGraph/Edge.swift /host/spi-builder-workspace/Sources/SwiftGraph/Graph.swift /host/spi-builder-workspace/Sources/SwiftGraph/MST.swift /host/spi-builder-workspace/Sources/SwiftGraph/Queue.swift /host/spi-builder-workspace/Sources/SwiftGraph/Reversed.swift /host/spi-builder-workspace/Sources/SwiftGraph/Search.swift /host/spi-builder-workspace/Sources/SwiftGraph/Sort.swift /host/spi-builder-workspace/Sources/SwiftGraph/Stack.swift /host/spi-builder-workspace/Sources/SwiftGraph/SwiftPriorityQueue.swift -primary-file /host/spi-builder-workspace/Sources/SwiftGraph/Union.swift -primary-file /host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift /host/spi-builder-workspace/Sources/SwiftGraph/UnweightedEdge.swift /host/spi-builder-workspace/Sources/SwiftGraph/UnweightedGraph.swift /host/spi-builder-workspace/Sources/SwiftGraph/WeightedEdge.swift /host/spi-builder-workspace/Sources/SwiftGraph/WeightedGraph.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftGraph.build/Union.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftGraph.build/Union.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftGraph.build/UniqueElementsGraph.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftGraph.build/UniqueElementsGraph.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SwiftGraph -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftGraph.build/Union.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftGraph.build/UniqueElementsGraph.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift")
4. While emitting IR SIL function "@$s10SwiftGraph014UniqueElementsB0CA2A14UnweightedEdgeVRs_rlE13fromRecursion_15selectingVertex12startingWithACyxAEGSayqd__Gqd__XE_xqd__XEqd__tlFZ".
for 'fromRecursion(_:selectingVertex:startingWith:)' (at /host/spi-builder-workspace/Sources/SwiftGraph/UniqueElementsGraph.swift:157:12)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055dc42523497
1 swift-frontend 0x000055dc425211ee
2 swift-frontend 0x000055dc42523b0a
3 libc.so.6 0x00007f3d93907520
4 libc.so.6 0x00007f3d9395b9fc pthread_kill + 300
5 libc.so.6 0x00007f3d93907476 raise + 22
6 libc.so.6 0x00007f3d938ed7f3 abort + 211
7 libc.so.6 0x00007f3d938ed71b
8 libc.so.6 0x00007f3d938fee96
9 swift-frontend 0x000055dc3d361037
10 swift-frontend 0x000055dc3d258b32
11 swift-frontend 0x000055dc3d2588b4
12 swift-frontend 0x000055dc3d263f83
13 swift-frontend 0x000055dc3d260aa5
14 swift-frontend 0x000055dc3d257fa6
15 swift-frontend 0x000055dc3be52a27
16 swift-frontend 0x000055dc3be4c0a7
17 swift-frontend 0x000055dc3be4be3b
18 swift-frontend 0x000055dc3be83685
19 swift-frontend 0x000055dc3be6afed
20 swift-frontend 0x000055dc3be67917
21 swift-frontend 0x000055dc3bd12ca2
22 swift-frontend 0x000055dc3bba0ab9
23 swift-frontend 0x000055dc3bc0f633
24 swift-frontend 0x000055dc3bc0f589
25 swift-frontend 0x000055dc3bbab05f
26 swift-frontend 0x000055dc3bba33ec
27 swift-frontend 0x000055dc3b76bad9
28 swift-frontend 0x000055dc3b766594
29 swift-frontend 0x000055dc3b76526b
30 swift-frontend 0x000055dc3b77bf65
31 swift-frontend 0x000055dc3b769177
32 swift-frontend 0x000055dc3b7674fc
33 swift-frontend 0x000055dc3b523dde
34 libc.so.6 0x00007f3d938eed90
35 libc.so.6 0x00007f3d938eee40 __libc_start_main + 128
36 swift-frontend 0x000055dc3b522e85
BUILD FAILURE 6.0 linux