Build Information
Failed to build GraphViz, reference 0.4.2 (e4e079
), with Swift 6.1 for Wasm on 29 May 2025 18:46:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/GraphViz.git
Reference: 0.4.2
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/tuist/GraphViz
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at e4e0796 Specify 10.15 deployment target to satisfy `Identifiable` deployment constraints
Cloned https://github.com/tuist/GraphViz.git
Revision (git rev-parse @):
e4e0796a8fa74b000aba54b0256601abf75d0307
SUCCESS checkout https://github.com/tuist/GraphViz.git at 0.4.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tuist/GraphViz.git
https://github.com/tuist/GraphViz.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "GraphViz",
"name" : "GraphViz",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "GraphViz",
"targets" : [
"GraphViz",
"DOT",
"Tools"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GraphVizBuilder",
"targets" : [
"GraphVizBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Tools",
"module_type" : "SwiftTarget",
"name" : "Tools",
"path" : "Sources/Tools",
"product_memberships" : [
"GraphViz"
],
"sources" : [
"Extensions/Graph+Rendering.swift",
"Renderer.swift",
"which.swift"
],
"target_dependencies" : [
"GraphViz",
"DOT"
],
"type" : "library"
},
{
"c99name" : "GraphVizTests",
"module_type" : "SwiftTarget",
"name" : "GraphVizTests",
"path" : "Tests/GraphVizTests",
"sources" : [
"AttributesTest.swift",
"EdgeTests.swift",
"GraphTests.swift",
"NodeTests.swift",
"RenderingTests.swift",
"SubgraphTests.swift"
],
"target_dependencies" : [
"GraphViz",
"DOT",
"Tools"
],
"type" : "test"
},
{
"c99name" : "GraphVizBuilderTests",
"module_type" : "SwiftTarget",
"name" : "GraphVizBuilderTests",
"path" : "Tests/GraphVizBuilderTests",
"sources" : [
"GraphBuilderTests.swift",
"SubgraphBuilderTests.swift"
],
"target_dependencies" : [
"GraphViz",
"DOT",
"GraphVizBuilder"
],
"type" : "test"
},
{
"c99name" : "GraphVizBuilder",
"module_type" : "SwiftTarget",
"name" : "GraphVizBuilder",
"path" : "Sources/GraphVizBuilder",
"product_memberships" : [
"GraphVizBuilder"
],
"sources" : [
"Extensions/Edge+Extensions.swift",
"Extensions/Graph+Extensions.swift",
"Extensions/Node+Extensions.swift",
"Extensions/Subgraph+Extensions.swift",
"GraphBuilder.swift",
"Operators/BackwardEdgeOperator.swift",
"Operators/BidirectionalEdgeOperator.swift",
"Operators/ForwardEdgeOperator.swift",
"Operators/UndirectedEdgeOperator.swift",
"SubgraphBuilder.swift"
],
"target_dependencies" : [
"GraphViz"
],
"type" : "library"
},
{
"c99name" : "GraphViz",
"module_type" : "SwiftTarget",
"name" : "GraphViz",
"path" : "Sources/GraphViz",
"product_memberships" : [
"GraphViz",
"GraphVizBuilder"
],
"sources" : [
"Attribute.swift",
"Edge.swift",
"Extensions/KeyValuePairs+Extensions.swift",
"Graph.swift",
"Node.swift",
"Rendering/Format.swift",
"Rendering/LayoutAlgorithm.swift",
"Subgraph.swift",
"Supporting Types/AspectRatio.swift",
"Supporting Types/Color.swift",
"Supporting Types/Location.swift",
"Supporting Types/Ordering.swift",
"Supporting Types/Point.swift",
"Supporting Types/Position.swift",
"Supporting Types/Rectangle.swift",
"Supporting Types/Size.swift"
],
"type" : "library"
},
{
"c99name" : "DOT",
"module_type" : "SwiftTarget",
"name" : "DOT",
"path" : "Sources/DOT",
"product_memberships" : [
"GraphViz"
],
"sources" : [
"DOT.swift",
"DOTEncoder.swift",
"DOTRepresentable.swift"
],
"target_dependencies" : [
"GraphViz"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/20] Compiling GraphViz Location.swift
[7/20] Compiling GraphViz Ordering.swift
[8/20] Compiling GraphViz Point.swift
[9/20] Compiling GraphViz Position.swift
[10/22] Emitting module GraphViz
/host/spi-builder-workspace/Sources/GraphViz/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 }
/host/spi-builder-workspace/Sources/GraphViz/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 {
[11/22] Compiling GraphViz LayoutAlgorithm.swift
[12/22] Compiling GraphViz Subgraph.swift
[13/22] Compiling GraphViz Node.swift
[14/22] Compiling GraphViz Format.swift
[15/22] Compiling GraphViz AspectRatio.swift
[16/22] Compiling GraphViz Color.swift
[17/22] Compiling GraphViz KeyValuePairs+Extensions.swift
/host/spi-builder-workspace/Sources/GraphViz/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 }
/host/spi-builder-workspace/Sources/GraphViz/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 {
[18/22] Compiling GraphViz Graph.swift
/host/spi-builder-workspace/Sources/GraphViz/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 }
/host/spi-builder-workspace/Sources/GraphViz/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 {
[19/22] Compiling GraphViz Attribute.swift
[20/22] Compiling GraphViz Edge.swift
[21/22] Compiling GraphViz Rectangle.swift
[22/22] Compiling GraphViz Size.swift
[24/37] Compiling DOT DOT.swift
[25/37] Compiling GraphVizBuilder Node+Extensions.swift
[26/37] Compiling GraphVizBuilder Subgraph+Extensions.swift
[27/37] Compiling GraphVizBuilder ForwardEdgeOperator.swift
[28/37] Compiling GraphVizBuilder UndirectedEdgeOperator.swift
[29/38] Emitting module DOT
/host/spi-builder-workspace/Sources/DOT/DOTEncoder.swift:25: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
5 | /// For more information about the DOT language,
6 | /// see <https://www.graphviz.org/doc/info/lang.html>.
7 | public struct DOTEncoder {
| `- note: consider making struct 'DOTEncoder' conform to the 'Sendable' protocol
8 | public enum Delimiter: String {
9 | case comma = ","
:
23 | public var omitEmptyNodes: Bool = true
24 |
25 | 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Creates a new DOT encoder.
[30/38] Compiling GraphVizBuilder BidirectionalEdgeOperator.swift
[31/38] Compiling GraphVizBuilder GraphBuilder.swift
/host/spi-builder-workspace/Sources/GraphVizBuilder/GraphBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | // MARK: -
10 |
11 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct GraphBuilder {
13 | struct Fragment: GraphMember {
[32/38] Compiling GraphVizBuilder BackwardEdgeOperator.swift
[33/38] Emitting module GraphVizBuilder
/host/spi-builder-workspace/Sources/GraphVizBuilder/GraphBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | // MARK: -
10 |
11 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct GraphBuilder {
13 | struct Fragment: GraphMember {
/host/spi-builder-workspace/Sources/GraphVizBuilder/SubgraphBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | // MARK: -
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct SubgraphBuilder {
12 | struct Fragment: SubgraphMember {
[34/38] Compiling GraphVizBuilder Edge+Extensions.swift
[35/38] Compiling GraphVizBuilder Graph+Extensions.swift
[36/38] Compiling DOT DOTRepresentable.swift
[37/38] Compiling GraphVizBuilder SubgraphBuilder.swift
/host/spi-builder-workspace/Sources/GraphVizBuilder/SubgraphBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | // MARK: -
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct SubgraphBuilder {
12 | struct Fragment: SubgraphMember {
[39/39] Compiling DOT DOTEncoder.swift
/host/spi-builder-workspace/Sources/DOT/DOTEncoder.swift:25: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
5 | /// For more information about the DOT language,
6 | /// see <https://www.graphviz.org/doc/info/lang.html>.
7 | public struct DOTEncoder {
| `- note: consider making struct 'DOTEncoder' conform to the 'Sendable' protocol
8 | public enum Delimiter: String {
9 | case comma = ","
:
23 | public var omitEmptyNodes: Bool = true
24 |
25 | 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Creates a new DOT encoder.
[41/44] Compiling Tools which.swift
/host/spi-builder-workspace/Sources/Tools/which.swift:4:16: error: cannot find 'Process' in scope
2 |
3 | func which(_ command: String) throws -> URL {
4 | let task = Process()
| `- error: cannot find 'Process' in scope
5 | let url = URL(fileURLWithPath: "/usr/bin/which")
6 | if #available(OSX 10.13, *) {
[42/44] Emitting module Tools
[43/44] Compiling Tools Graph+Rendering.swift
[44/44] Compiling Tools Renderer.swift
/host/spi-builder-workspace/Sources/Tools/Renderer.swift:66:20: error: cannot find 'Process' in scope
64 | */
65 | public func render(dot: String, to format: Format) throws -> Data {
66 | let task = Process()
| `- error: cannot find 'Process' in scope
67 | if #available(OSX 10.13, *) {
68 | task.executableURL = url
/host/spi-builder-workspace/Sources/Tools/Renderer.swift:82:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
80 | let outputPipe = Pipe()
81 | defer { outputPipe.fileHandleForReading.closeFile() }
82 | outputPipe.fileHandleForReading.readabilityHandler = { fileHandle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
83 | data.append(fileHandle.availableData)
84 | }
/host/spi-builder-workspace/Sources/Tools/Renderer.swift:82:64: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
80 | let outputPipe = Pipe()
81 | defer { outputPipe.fileHandleForReading.closeFile() }
82 | outputPipe.fileHandleForReading.readabilityHandler = { fileHandle in
| `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
83 | data.append(fileHandle.availableData)
84 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling GraphViz Location.swift
[3/16] Compiling GraphViz Ordering.swift
[4/16] Compiling GraphViz Point.swift
[5/16] Compiling GraphViz Position.swift
[6/18] Compiling GraphViz Rectangle.swift
[7/18] Compiling GraphViz Size.swift
[8/18] Compiling GraphViz AspectRatio.swift
[9/18] Compiling GraphViz Color.swift
[10/18] Compiling GraphViz LayoutAlgorithm.swift
[11/18] Compiling GraphViz Subgraph.swift
[12/18] Compiling GraphViz Node.swift
[13/18] Compiling GraphViz Format.swift
[14/18] Compiling GraphViz Attribute.swift
[15/18] Compiling GraphViz Edge.swift
[16/18] Emitting module GraphViz
/host/spi-builder-workspace/Sources/GraphViz/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 }
/host/spi-builder-workspace/Sources/GraphViz/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 {
[17/18] Compiling GraphViz KeyValuePairs+Extensions.swift
/host/spi-builder-workspace/Sources/GraphViz/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 }
/host/spi-builder-workspace/Sources/GraphViz/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 {
[18/18] Compiling GraphViz Graph.swift
/host/spi-builder-workspace/Sources/GraphViz/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 }
/host/spi-builder-workspace/Sources/GraphViz/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 {
[20/33] Compiling GraphVizBuilder UndirectedEdgeOperator.swift
[21/34] Compiling GraphVizBuilder BackwardEdgeOperator.swift
[22/34] Compiling GraphVizBuilder ForwardEdgeOperator.swift
[23/34] Compiling GraphVizBuilder BidirectionalEdgeOperator.swift
[24/34] Compiling GraphVizBuilder Node+Extensions.swift
[25/34] Compiling GraphVizBuilder Subgraph+Extensions.swift
[26/34] Compiling GraphVizBuilder GraphBuilder.swift
/host/spi-builder-workspace/Sources/GraphVizBuilder/GraphBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | // MARK: -
10 |
11 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct GraphBuilder {
13 | struct Fragment: GraphMember {
[27/34] Compiling GraphVizBuilder SubgraphBuilder.swift
/host/spi-builder-workspace/Sources/GraphVizBuilder/SubgraphBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | // MARK: -
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct SubgraphBuilder {
12 | struct Fragment: SubgraphMember {
[28/34] Compiling DOT DOTRepresentable.swift
[29/34] Emitting module GraphVizBuilder
/host/spi-builder-workspace/Sources/GraphVizBuilder/GraphBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | // MARK: -
10 |
11 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct GraphBuilder {
13 | struct Fragment: GraphMember {
/host/spi-builder-workspace/Sources/GraphVizBuilder/SubgraphBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | // MARK: -
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct SubgraphBuilder {
12 | struct Fragment: SubgraphMember {
[30/34] Compiling GraphVizBuilder Edge+Extensions.swift
[31/34] Compiling GraphVizBuilder Graph+Extensions.swift
[33/35] Compiling DOT DOT.swift
[34/35] Emitting module DOT
[35/35] Compiling DOT DOTEncoder.swift
[37/40] Compiling Tools which.swift
/host/spi-builder-workspace/Sources/Tools/which.swift:4:16: error: cannot find 'Process' in scope
2 |
3 | func which(_ command: String) throws -> URL {
4 | let task = Process()
| `- error: cannot find 'Process' in scope
5 | let url = URL(fileURLWithPath: "/usr/bin/which")
6 | if #available(OSX 10.13, *) {
[38/40] Compiling Tools Renderer.swift
/host/spi-builder-workspace/Sources/Tools/Renderer.swift:66:20: error: cannot find 'Process' in scope
64 | */
65 | public func render(dot: String, to format: Format) throws -> Data {
66 | let task = Process()
| `- error: cannot find 'Process' in scope
67 | if #available(OSX 10.13, *) {
68 | task.executableURL = url
/host/spi-builder-workspace/Sources/Tools/Renderer.swift:82:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
80 | let outputPipe = Pipe()
81 | defer { outputPipe.fileHandleForReading.closeFile() }
82 | outputPipe.fileHandleForReading.readabilityHandler = { fileHandle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
83 | data.append(fileHandle.availableData)
84 | }
/host/spi-builder-workspace/Sources/Tools/Renderer.swift:82:64: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
80 | let outputPipe = Pipe()
81 | defer { outputPipe.fileHandleForReading.closeFile() }
82 | outputPipe.fileHandleForReading.readabilityHandler = { fileHandle in
| `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
83 | data.append(fileHandle.availableData)
84 | }
[39/40] Emitting module Tools
[40/40] Compiling Tools Graph+Rendering.swift
BUILD FAILURE 6.1 wasm