Build Information
Failed to build GraphViz with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/GraphViz.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftDocOrg/GraphViz
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 74b6cbd Bump version to 0.4.1
Cloned https://github.com/SwiftDocOrg/GraphViz.git
Revision (git rev-parse @):
74b6cbd8c5ecea9f64d84c4e1c88d65604dd033f
SUCCESS checkout https://github.com/SwiftDocOrg/GraphViz.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/SwiftDocOrg/GraphViz.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/32] Compiling GraphViz GraphBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/GraphBuilder.swift:9:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
7 | // MARK: -
8 |
9 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
10 | public struct GraphBuilder {
11 | struct Fragment: GraphMember {
[4/32] Compiling GraphViz BackwardEdgeOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/GraphBuilder.swift:9:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
7 | // MARK: -
8 |
9 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
10 | public struct GraphBuilder {
11 | struct Fragment: GraphMember {
[5/32] Compiling GraphViz BidirectionalEdgeOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/GraphBuilder.swift:9:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
7 | // MARK: -
8 |
9 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
10 | public struct GraphBuilder {
11 | struct Fragment: GraphMember {
[6/32] Compiling GraphViz ForwardEdgeOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/GraphBuilder.swift:9:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
7 | // MARK: -
8 |
9 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
10 | public struct GraphBuilder {
11 | struct Fragment: GraphMember {
[7/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.
[8/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.
[9/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.
[10/35] Compiling GraphViz Location.swift
[11/35] Compiling GraphViz Ordering.swift
[12/35] Compiling GraphViz Point.swift
[13/35] Compiling GraphViz Node.swift
[14/35] Compiling GraphViz Format.swift
[15/35] Compiling GraphViz LayoutAlgorithm.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/35] Compiling GraphViz Position.swift
[17/35] Compiling GraphViz Rectangle.swift
[18/35] Compiling GraphViz Size.swift
[19/35] Compiling GraphViz Subgraph.swift
[20/35] Compiling GraphViz AspectRatio.swift
[21/35] Compiling GraphViz Color.swift
[22/35] Compiling GraphViz UndirectedEdgeOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/SubgraphBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | // MARK: -
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct SubgraphBuilder {
10 | struct Fragment: SubgraphMember {
[23/35] Compiling GraphViz SubgraphBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/SubgraphBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | // MARK: -
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct SubgraphBuilder {
10 | struct Fragment: SubgraphMember {
[24/35] Compiling GraphViz Attribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/SubgraphBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | // MARK: -
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct SubgraphBuilder {
10 | struct Fragment: SubgraphMember {
[25/35] Emitting module GraphViz
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/GraphBuilder.swift:9:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
7 | // MARK: -
8 |
9 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
10 | public struct GraphBuilder {
11 | struct Fragment: GraphMember {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Builder/SubgraphBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | // MARK: -
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct SubgraphBuilder {
10 | struct Fragment: SubgraphMember {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:6:27: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
7 | public var to: Node.ID
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:7:25: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
8 |
9 | public enum Direction: String, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:28: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:41: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/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/Core/Graph.swift:174:34: error: 'ID' is only available in macOS 10.15 or newer
170 | public var scale: Double
171 |
172 | public enum Center: Hashable {
| `- note: add @available attribute to enclosing enum
173 | case point(x: Double, y: Double)
174 | case node(name: Node.ID)
| `- error: 'ID' is only available in macOS 10.15 or newer
175 | }
176 |
/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 |
[26/35] Compiling GraphViz Edge+Extensions.swift
[27/35] Compiling GraphViz Graph+Extensions.swift
[28/35] Compiling GraphViz Node+Extensions.swift
[29/35] Compiling GraphViz Subgraph+Extensions.swift
[30/35] Compiling GraphViz Edge.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:6:27: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
7 | public var to: Node.ID
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:7:25: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
8 |
9 | public enum Direction: String, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:28: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:41: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/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/Core/Graph.swift:174:34: error: 'ID' is only available in macOS 10.15 or newer
170 | public var scale: Double
171 |
172 | public enum Center: Hashable {
| `- note: add @available attribute to enclosing enum
173 | case point(x: Double, y: Double)
174 | case node(name: Node.ID)
| `- error: 'ID' is only available in macOS 10.15 or newer
175 | }
176 |
[31/35] Compiling GraphViz KeyValuePairs+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:6:27: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
7 | public var to: Node.ID
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:7:25: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
8 |
9 | public enum Direction: String, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:28: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:41: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/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/Core/Graph.swift:174:34: error: 'ID' is only available in macOS 10.15 or newer
170 | public var scale: Double
171 |
172 | public enum Center: Hashable {
| `- note: add @available attribute to enclosing enum
173 | case point(x: Double, y: Double)
174 | case node(name: Node.ID)
| `- error: 'ID' is only available in macOS 10.15 or newer
175 | }
176 |
[32/35] Compiling GraphViz Graph.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:6:27: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
7 | public var to: Node.ID
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:7:25: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
| `- error: 'ID' is only available in macOS 10.15 or newer
8 |
9 | public enum Direction: String, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:28: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/Users/admin/builder/spi-builder-workspace/Sources/GraphViz/Core/Edge.swift:25:41: error: 'ID' is only available in macOS 10.15 or newer
3 | /// An edge between two nodes.
4 | @dynamicMemberLookup
5 | public struct Edge: Hashable {
| `- note: add @available attribute to enclosing struct
6 | public var from: Node.ID
7 | public var to: Node.ID
:
23 | }
24 |
25 | public init(from: Node.ID, to: Node.ID, direction: Direction? = nil) {
| | `- error: 'ID' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.from = from
27 | self.to = to
/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/Core/Graph.swift:174:34: error: 'ID' is only available in macOS 10.15 or newer
170 | public var scale: Double
171 |
172 | public enum Center: Hashable {
| `- note: add @available attribute to enclosing enum
173 | case point(x: Double, y: Double)
174 | case node(name: Node.ID)
| `- error: 'ID' is only available in macOS 10.15 or newer
175 | }
176 |
[33/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
[34/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
[35/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
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 FAILURE 6.0 macosSpm