Build Information
Successful build of GraphViz, reference main (083bcc
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 09:53:12 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/GraphViz.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tuist/GraphViz
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 083bccf Updates to work with Xcode 16
Cloned https://github.com/tuist/GraphViz.git
Revision (git rev-parse @):
083bccf9e492fd5731dd288a46741ea80148f508
SUCCESS checkout https://github.com/tuist/GraphViz.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "graphviz",
"name": "GraphViz",
"url": "https://github.com/tuist/GraphViz.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GraphViz",
"dependencies": [
]
}
]
}
Fetching https://github.com/tuist/GraphViz.git
[1/572] Fetching graphviz
Fetched https://github.com/tuist/GraphViz.git from cache (1.04s)
Creating working copy for https://github.com/tuist/GraphViz.git
Working copy of https://github.com/tuist/GraphViz.git resolved at main (083bccf)
warning: '.resolve-product-dependencies': dependency 'graphviz' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/tuist/GraphViz.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/32] Emitting module GraphViz
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:1:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension KeyValuePairs: Equatable where Key: Equatable, Value: Equatable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public static func == (lhs: KeyValuePairs<Key, Value>, rhs: KeyValuePairs<Key, Value>) -> Bool {
3 | guard lhs.count == rhs.count else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:12:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
10 | }
11 |
12 | extension KeyValuePairs: Hashable where Key: Hashable, Value: Hashable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func hash(into hasher: inout Hasher) {
14 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/DOT/DOTEncoder.swift:23:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// For more information about the DOT language,
4 | /// see <https://www.graphviz.org/doc/info/lang.html>.
5 | public struct DOTEncoder {
| `- note: consider making struct 'DOTEncoder' conform to the 'Sendable' protocol
6 | public enum Delimiter: String {
7 | case comma = ","
:
21 | public var omitEmptyNodes: Bool = true
22 |
23 | private static let shared = DOTEncoder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Creates a new DOT encoder.
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:30:20: warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
28 | Undirected graphs are silently ignored.
29 | */
30 | static let removeEdgesImpliedByTransitivity = Options(rawValue: 1 << 0)
| |- warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeEdgesImpliedByTransitivity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[4/35] Compiling GraphViz Position.swift
[5/35] Compiling GraphViz Rectangle.swift
[6/35] Compiling GraphViz Size.swift
[7/35] Compiling GraphViz GraphBuilder.swift
[8/35] Compiling GraphViz BackwardEdgeOperator.swift
[9/35] Compiling GraphViz BidirectionalEdgeOperator.swift
[10/35] Compiling GraphViz ForwardEdgeOperator.swift
[11/35] Compiling GraphViz Edge+Extensions.swift
[12/35] Compiling GraphViz Graph+Extensions.swift
[13/35] Compiling GraphViz Node+Extensions.swift
[14/35] Compiling GraphViz Subgraph+Extensions.swift
[15/35] Compiling GraphViz Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:30:20: warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
28 | Undirected graphs are silently ignored.
29 | */
30 | static let removeEdgesImpliedByTransitivity = Options(rawValue: 1 << 0)
| |- warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeEdgesImpliedByTransitivity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:93:20: warning: capture of 'options' with non-sendable type 'Renderer.Options' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
91 | }
92 |
93 | if options.contains(.removeEdgesImpliedByTransitivity) {
| `- warning: capture of 'options' with non-sendable type 'Renderer.Options' in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 | try attempt { gvToolTred(graph) }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:97:21: warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in a `@Sendable` closure; this is an error in the Swift 6 language mode
95 | }
96 |
97 | try layout.rawValue.withCString { cString in
| `- warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in a `@Sendable` closure; this is an error in the Swift 6 language mode
98 | try attempt { gvLayout(context, graph, cString) }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/LayoutAlgorithm.swift:1:13: note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
1 | public enum LayoutAlgorithm: String {
| `- note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
2 | /// dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies.
3 | case dot
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:104:21: warning: capture of 'format' with non-sendable type 'Format' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | var data: UnsafeMutablePointer<Int8>?
103 | var length: UInt32 = 0
104 | try format.rawValue.withCString { cString in
| `- warning: capture of 'format' with non-sendable type 'Format' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | try attempt { gvRenderData(context, graph, cString, &data, &length) }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/Format.swift:1:13: note: consider making enum 'Format' conform to the 'Sendable' protocol
1 | public enum Format: String, Hashable {
| `- note: consider making enum 'Format' conform to the 'Sendable' protocol
2 | /// Windows Bitmap Format
3 | case bmp
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:113:13: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 |
113 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:93:20: warning: capture of 'options' with non-sendable type 'Renderer.Options' in an isolated closure; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
91 | }
92 |
93 | if options.contains(.removeEdgesImpliedByTransitivity) {
| `- warning: capture of 'options' with non-sendable type 'Renderer.Options' in an isolated closure; this is an error in the Swift 6 language mode
94 | try attempt { gvToolTred(graph) }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:97:21: warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in an isolated closure; this is an error in the Swift 6 language mode
95 | }
96 |
97 | try layout.rawValue.withCString { cString in
| `- warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in an isolated closure; this is an error in the Swift 6 language mode
98 | try attempt { gvLayout(context, graph, cString) }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/LayoutAlgorithm.swift:1:13: note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
1 | public enum LayoutAlgorithm: String {
| `- note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
2 | /// dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies.
3 | case dot
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:104:21: warning: capture of 'format' with non-sendable type 'Format' in an isolated closure; this is an error in the Swift 6 language mode
102 | var data: UnsafeMutablePointer<Int8>?
103 | var length: UInt32 = 0
104 | try format.rawValue.withCString { cString in
| `- warning: capture of 'format' with non-sendable type 'Format' in an isolated closure; this is an error in the Swift 6 language mode
105 | try attempt { gvRenderData(context, graph, cString, &data, &length) }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/Format.swift:1:13: note: consider making enum 'Format' conform to the 'Sendable' protocol
1 | public enum Format: String, Hashable {
| `- note: consider making enum 'Format' conform to the 'Sendable' protocol
2 | /// Windows Bitmap Format
3 | case bmp
[16/35] Compiling GraphViz Graph+Rendering.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:30:20: warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
28 | Undirected graphs are silently ignored.
29 | */
30 | static let removeEdgesImpliedByTransitivity = Options(rawValue: 1 << 0)
| |- warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeEdgesImpliedByTransitivity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:93:20: warning: capture of 'options' with non-sendable type 'Renderer.Options' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
91 | }
92 |
93 | if options.contains(.removeEdgesImpliedByTransitivity) {
| `- warning: capture of 'options' with non-sendable type 'Renderer.Options' in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 | try attempt { gvToolTred(graph) }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:97:21: warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in a `@Sendable` closure; this is an error in the Swift 6 language mode
95 | }
96 |
97 | try layout.rawValue.withCString { cString in
| `- warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in a `@Sendable` closure; this is an error in the Swift 6 language mode
98 | try attempt { gvLayout(context, graph, cString) }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/LayoutAlgorithm.swift:1:13: note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
1 | public enum LayoutAlgorithm: String {
| `- note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
2 | /// dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies.
3 | case dot
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:104:21: warning: capture of 'format' with non-sendable type 'Format' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | var data: UnsafeMutablePointer<Int8>?
103 | var length: UInt32 = 0
104 | try format.rawValue.withCString { cString in
| `- warning: capture of 'format' with non-sendable type 'Format' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | try attempt { gvRenderData(context, graph, cString, &data, &length) }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/Format.swift:1:13: note: consider making enum 'Format' conform to the 'Sendable' protocol
1 | public enum Format: String, Hashable {
| `- note: consider making enum 'Format' conform to the 'Sendable' protocol
2 | /// Windows Bitmap Format
3 | case bmp
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:113:13: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 |
113 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:93:20: warning: capture of 'options' with non-sendable type 'Renderer.Options' in an isolated closure; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
91 | }
92 |
93 | if options.contains(.removeEdgesImpliedByTransitivity) {
| `- warning: capture of 'options' with non-sendable type 'Renderer.Options' in an isolated closure; this is an error in the Swift 6 language mode
94 | try attempt { gvToolTred(graph) }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:97:21: warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in an isolated closure; this is an error in the Swift 6 language mode
95 | }
96 |
97 | try layout.rawValue.withCString { cString in
| `- warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in an isolated closure; this is an error in the Swift 6 language mode
98 | try attempt { gvLayout(context, graph, cString) }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/LayoutAlgorithm.swift:1:13: note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
1 | public enum LayoutAlgorithm: String {
| `- note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
2 | /// dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies.
3 | case dot
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:104:21: warning: capture of 'format' with non-sendable type 'Format' in an isolated closure; this is an error in the Swift 6 language mode
102 | var data: UnsafeMutablePointer<Int8>?
103 | var length: UInt32 = 0
104 | try format.rawValue.withCString { cString in
| `- warning: capture of 'format' with non-sendable type 'Format' in an isolated closure; this is an error in the Swift 6 language mode
105 | try attempt { gvRenderData(context, graph, cString, &data, &length) }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/Format.swift:1:13: note: consider making enum 'Format' conform to the 'Sendable' protocol
1 | public enum Format: String, Hashable {
| `- note: consider making enum 'Format' conform to the 'Sendable' protocol
2 | /// Windows Bitmap Format
3 | case bmp
[17/35] Compiling GraphViz Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:30:20: warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
28 | Undirected graphs are silently ignored.
29 | */
30 | static let removeEdgesImpliedByTransitivity = Options(rawValue: 1 << 0)
| |- warning: static property 'removeEdgesImpliedByTransitivity' is not concurrency-safe because non-'Sendable' type 'Renderer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeEdgesImpliedByTransitivity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:93:20: warning: capture of 'options' with non-sendable type 'Renderer.Options' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
91 | }
92 |
93 | if options.contains(.removeEdgesImpliedByTransitivity) {
| `- warning: capture of 'options' with non-sendable type 'Renderer.Options' in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 | try attempt { gvToolTred(graph) }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:97:21: warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in a `@Sendable` closure; this is an error in the Swift 6 language mode
95 | }
96 |
97 | try layout.rawValue.withCString { cString in
| `- warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in a `@Sendable` closure; this is an error in the Swift 6 language mode
98 | try attempt { gvLayout(context, graph, cString) }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/LayoutAlgorithm.swift:1:13: note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
1 | public enum LayoutAlgorithm: String {
| `- note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
2 | /// dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies.
3 | case dot
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:104:21: warning: capture of 'format' with non-sendable type 'Format' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | var data: UnsafeMutablePointer<Int8>?
103 | var length: UInt32 = 0
104 | try format.rawValue.withCString { cString in
| `- warning: capture of 'format' with non-sendable type 'Format' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | try attempt { gvRenderData(context, graph, cString, &data, &length) }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/Format.swift:1:13: note: consider making enum 'Format' conform to the 'Sendable' protocol
1 | public enum Format: String, Hashable {
| `- note: consider making enum 'Format' conform to the 'Sendable' protocol
2 | /// Windows Bitmap Format
3 | case bmp
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:113:13: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 |
113 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:93:20: warning: capture of 'options' with non-sendable type 'Renderer.Options' in an isolated closure; this is an error in the Swift 6 language mode
11 | public class Renderer {
12 | /// Rendering options.
13 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
14 | public let rawValue: Int
15 |
:
91 | }
92 |
93 | if options.contains(.removeEdgesImpliedByTransitivity) {
| `- warning: capture of 'options' with non-sendable type 'Renderer.Options' in an isolated closure; this is an error in the Swift 6 language mode
94 | try attempt { gvToolTred(graph) }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:97:21: warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in an isolated closure; this is an error in the Swift 6 language mode
95 | }
96 |
97 | try layout.rawValue.withCString { cString in
| `- warning: capture of 'layout' with non-sendable type 'LayoutAlgorithm' in an isolated closure; this is an error in the Swift 6 language mode
98 | try attempt { gvLayout(context, graph, cString) }
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/LayoutAlgorithm.swift:1:13: note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
1 | public enum LayoutAlgorithm: String {
| `- note: consider making enum 'LayoutAlgorithm' conform to the 'Sendable' protocol
2 | /// dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies.
3 | case dot
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Tools/Renderer.swift:104:21: warning: capture of 'format' with non-sendable type 'Format' in an isolated closure; this is an error in the Swift 6 language mode
102 | var data: UnsafeMutablePointer<Int8>?
103 | var length: UInt32 = 0
104 | try format.rawValue.withCString { cString in
| `- warning: capture of 'format' with non-sendable type 'Format' in an isolated closure; this is an error in the Swift 6 language mode
105 | try attempt { gvRenderData(context, graph, cString, &data, &length) }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Rendering/Format.swift:1:13: note: consider making enum 'Format' conform to the 'Sendable' protocol
1 | public enum Format: String, Hashable {
| `- note: consider making enum 'Format' conform to the 'Sendable' protocol
2 | /// Windows Bitmap Format
3 | case bmp
[18/35] Compiling GraphViz UndirectedEdgeOperator.swift
[19/35] Compiling GraphViz SubgraphBuilder.swift
[20/35] Compiling GraphViz Attribute.swift
[21/35] Compiling GraphViz DOT.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/DOT/DOTEncoder.swift:23:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// For more information about the DOT language,
4 | /// see <https://www.graphviz.org/doc/info/lang.html>.
5 | public struct DOTEncoder {
| `- note: consider making struct 'DOTEncoder' conform to the 'Sendable' protocol
6 | public enum Delimiter: String {
7 | case comma = ","
:
21 | public var omitEmptyNodes: Bool = true
22 |
23 | private static let shared = DOTEncoder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Creates a new DOT encoder.
[22/35] Compiling GraphViz DOTEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/DOT/DOTEncoder.swift:23:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// For more information about the DOT language,
4 | /// see <https://www.graphviz.org/doc/info/lang.html>.
5 | public struct DOTEncoder {
| `- note: consider making struct 'DOTEncoder' conform to the 'Sendable' protocol
6 | public enum Delimiter: String {
7 | case comma = ","
:
21 | public var omitEmptyNodes: Bool = true
22 |
23 | private static let shared = DOTEncoder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Creates a new DOT encoder.
[23/35] Compiling GraphViz DOTRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/DOT/DOTEncoder.swift:23:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// For more information about the DOT language,
4 | /// see <https://www.graphviz.org/doc/info/lang.html>.
5 | public struct DOTEncoder {
| `- note: consider making struct 'DOTEncoder' conform to the 'Sendable' protocol
6 | public enum Delimiter: String {
7 | case comma = ","
:
21 | public var omitEmptyNodes: Bool = true
22 |
23 | private static let shared = DOTEncoder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DOTEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Creates a new DOT encoder.
[24/35] Compiling GraphViz Edge.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:1:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension KeyValuePairs: Equatable where Key: Equatable, Value: Equatable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public static func == (lhs: KeyValuePairs<Key, Value>, rhs: KeyValuePairs<Key, Value>) -> Bool {
3 | guard lhs.count == rhs.count else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:12:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
10 | }
11 |
12 | extension KeyValuePairs: Hashable where Key: Hashable, Value: Hashable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func hash(into hasher: inout Hasher) {
14 | for (key, value) in self {
[25/35] Compiling GraphViz KeyValuePairs+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:1:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension KeyValuePairs: Equatable where Key: Equatable, Value: Equatable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public static func == (lhs: KeyValuePairs<Key, Value>, rhs: KeyValuePairs<Key, Value>) -> Bool {
3 | guard lhs.count == rhs.count else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:12:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
10 | }
11 |
12 | extension KeyValuePairs: Hashable where Key: Hashable, Value: Hashable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func hash(into hasher: inout Hasher) {
14 | for (key, value) in self {
[26/35] Compiling GraphViz Graph.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:1:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension KeyValuePairs: Equatable where Key: Equatable, Value: Equatable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public static func == (lhs: KeyValuePairs<Key, Value>, rhs: KeyValuePairs<Key, Value>) -> Bool {
3 | guard lhs.count == rhs.count else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Extensions/KeyValuePairs+Extensions.swift:12:1: warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
10 | }
11 |
12 | extension KeyValuePairs: Hashable where Key: Hashable, Value: Hashable {
| |- warning: extension declares a conformance of imported type 'KeyValuePairs' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func hash(into hasher: inout Hasher) {
14 | for (key, value) in self {
[27/35] Compiling GraphViz Node.swift
[28/35] Compiling GraphViz Format.swift
[29/35] Compiling GraphViz LayoutAlgorithm.swift
[30/35] Compiling GraphViz Location.swift
[31/35] Compiling GraphViz Ordering.swift
[32/35] Compiling GraphViz Point.swift
[33/35] Compiling GraphViz Subgraph.swift
[34/35] Compiling GraphViz AspectRatio.swift
[35/35] Compiling GraphViz Color.swift
Build complete! (14.03s)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libcgraph using your system-packager:
brew install graphviz
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GraphViz",
"name" : "GraphViz",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "GraphViz",
"targets" : [
"GraphViz"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GraphVizTests",
"module_type" : "SwiftTarget",
"name" : "GraphVizTests",
"path" : "Tests/GraphVizTests",
"sources" : [
"AttributesTest.swift",
"EdgeTests.swift",
"GraphBuilderTests.swift",
"GraphTests.swift",
"NodeTests.swift",
"RenderingTests.swift",
"SubgraphBuilderTests.swift",
"SubgraphTests.swift"
],
"target_dependencies" : [
"GraphViz"
],
"type" : "test"
},
{
"c99name" : "GraphViz",
"module_type" : "SwiftTarget",
"name" : "GraphViz",
"path" : "Sources/GraphViz",
"product_memberships" : [
"GraphViz"
],
"sources" : [
"Builder/Extensions/Edge+Extensions.swift",
"Builder/Extensions/Graph+Extensions.swift",
"Builder/Extensions/Node+Extensions.swift",
"Builder/Extensions/Subgraph+Extensions.swift",
"Builder/GraphBuilder.swift",
"Builder/Operators/BackwardEdgeOperator.swift",
"Builder/Operators/BidirectionalEdgeOperator.swift",
"Builder/Operators/ForwardEdgeOperator.swift",
"Builder/Operators/UndirectedEdgeOperator.swift",
"Builder/SubgraphBuilder.swift",
"Core/Attribute.swift",
"Core/Edge.swift",
"Core/Extensions/KeyValuePairs+Extensions.swift",
"Core/Graph.swift",
"Core/Node.swift",
"Core/Rendering/Format.swift",
"Core/Rendering/LayoutAlgorithm.swift",
"Core/Subgraph.swift",
"Core/Supporting Types/AspectRatio.swift",
"Core/Supporting Types/Color.swift",
"Core/Supporting Types/Location.swift",
"Core/Supporting Types/Ordering.swift",
"Core/Supporting Types/Point.swift",
"Core/Supporting Types/Position.swift",
"Core/Supporting Types/Rectangle.swift",
"Core/Supporting Types/Size.swift",
"DOT/DOT.swift",
"DOT/DOTEncoder.swift",
"DOT/DOTRepresentable.swift",
"Tools/Error.swift",
"Tools/Extensions/Graph+Rendering.swift",
"Tools/Renderer.swift"
],
"target_dependencies" : [
"Clibgraphviz"
],
"type" : "library"
},
{
"c99name" : "Clibgraphviz",
"module_type" : "SystemLibraryTarget",
"name" : "Clibgraphviz",
"path" : "Sources/Clibgraphviz",
"product_memberships" : [
"GraphViz"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.2"
}
Done.