The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mermaid, reference 0.3.0 (ee4b50), with Swift 6.1 for macOS (SPM) on 27 Aug 2026 23:20:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Australware/swift-mermaid.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Australware/swift-mermaid
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at ee4b50b Add additional diagram types, fix one rendering bug
Cloned https://github.com/Australware/swift-mermaid.git
Revision (git rev-parse @):
ee4b50bc15ad6e9b9f88bc320f2c42ba9a55a804
SUCCESS checkout https://github.com/Australware/swift-mermaid.git at 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Australware/swift-mermaid.git
https://github.com/Australware/swift-mermaid.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-mermaid",
  "name" : "swift-mermaid",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Mermaid",
      "targets" : [
        "Mermaid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MermaidTests",
      "module_type" : "SwiftTarget",
      "name" : "MermaidTests",
      "path" : "Tests/MermaidTests",
      "sources" : [
        "ArchitectureTests.swift",
        "ClassDiagramTests.swift",
        "ERDiagramTests.swift",
        "FlowchartParserTests.swift",
        "GitGraphTests.swift",
        "JourneyTests.swift",
        "PlaceholderTests.swift",
        "PreprocessingTests.swift",
        "SceneTests.swift",
        "StateDiagramTests.swift",
        "VisualSmokeTests.swift"
      ],
      "target_dependencies" : [
        "Mermaid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MermaidLayoutDagre",
      "module_type" : "SwiftTarget",
      "name" : "MermaidLayoutDagre",
      "path" : "Vendor/MermaidLayoutDagre",
      "product_memberships" : [
        "Mermaid"
      ],
      "sources" : [
        "Acyclic/Acyclic.swift",
        "Acyclic/GreedyFAS.swift",
        "Graph/EdgeId.swift",
        "Graph/Graph.swift",
        "Graph/GraphOptions.swift",
        "Layout/AddBorderSegments.swift",
        "Layout/Labels.swift",
        "Layout/Layout.swift",
        "Nesting/NestingGraph.swift",
        "Normalize/Denormalize.swift",
        "Normalize/Normalize.swift",
        "Normalize/ParentDummyChains.swift",
        "Order/AddSubgraphConstraints.swift",
        "Order/Barycenter.swift",
        "Order/BuildLayerGraph.swift",
        "Order/CrossCount.swift",
        "Order/InitOrder.swift",
        "Order/Order.swift",
        "Order/SortSubgraph.swift",
        "Position/BrandesKopf.swift",
        "Position/Position.swift",
        "Position/PositionY.swift",
        "Rank/FeasibleTree.swift",
        "Rank/LongestPath.swift",
        "Rank/NetworkSimplex.swift",
        "Rank/Rank.swift",
        "Util/GraphUtil.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Mermaid",
      "module_type" : "SwiftTarget",
      "name" : "Mermaid",
      "path" : "Sources/Mermaid",
      "product_memberships" : [
        "Mermaid"
      ],
      "sources" : [
        "Architecture/ArchitectureLayout.swift",
        "Architecture/ArchitectureModel.swift",
        "Architecture/ArchitectureParser.swift",
        "Architecture/ArchitectureRenderer.swift",
        "Class/ClassLayout.swift",
        "Class/ClassModel.swift",
        "Class/ClassParser.swift",
        "Class/ClassRenderer.swift",
        "Core/CGRenderer.swift",
        "Core/DiagramDetection.swift",
        "Core/Geometry.swift",
        "Core/MermaidError.swift",
        "Core/MermaidScene.swift",
        "Core/SVGRenderer.swift",
        "Core/Scanner.swift",
        "Core/TextMeasurement.swift",
        "Core/Theme.swift",
        "ER/ERLayout.swift",
        "ER/ERModel.swift",
        "ER/ERParser.swift",
        "ER/ERRenderer.swift",
        "Flowchart/FlowchartLayout.swift",
        "Flowchart/FlowchartLayoutDagre.swift",
        "Flowchart/FlowchartModel.swift",
        "Flowchart/FlowchartParser.swift",
        "Flowchart/FlowchartRenderer.swift",
        "GitGraph/GitGraphLayout.swift",
        "GitGraph/GitGraphModel.swift",
        "GitGraph/GitGraphParser.swift",
        "GitGraph/GitGraphRenderer.swift",
        "Journey/JourneyParser.swift",
        "Journey/JourneyRenderer.swift",
        "Mermaid.swift",
        "Pie/PieParser.swift",
        "Pie/PieRenderer.swift",
        "Sequence/SequenceModel.swift",
        "Sequence/SequenceParser.swift",
        "Sequence/SequenceRenderer.swift",
        "State/StateModel.swift",
        "State/StateParser.swift"
      ],
      "target_dependencies" : [
        "MermaidLayoutDagre"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/29] Emitting module MermaidLayoutDagre
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:12:24: warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     /// Counter for generating unique IDs for reversed edges
 12 |     private static var reverseIdCounter: Int = 0
    |                        |- warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'reverseIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'reverseIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:14:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static var reverseIdCounter: Int = 0
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Generates a unique ID for reversed edges (matches dagrejs's uniqueId("rev"))
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Util/GraphUtil.swift:15:24: warning: static property '_nodeIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | public enum GraphUtil {
 14 |     /// Counter for generating unique node IDs
 15 |     private static var _nodeIdCounter = 0
    |                        |- warning: static property '_nodeIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_nodeIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_nodeIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 17 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Util/GraphUtil.swift:17:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     private static var _nodeIdCounter = 0
 16 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 17 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// Generates a unique node ID with a given prefix
[5/31] Compiling MermaidLayoutDagre AddSubgraphConstraints.swift
[6/31] Compiling MermaidLayoutDagre Barycenter.swift
[7/31] Compiling MermaidLayoutDagre BuildLayerGraph.swift
[8/31] Compiling MermaidLayoutDagre SortSubgraph.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Position/BrandesKopf.swift:63:73: error: type of expression is ambiguous without a type annotation
 61 |
 62 |                 // Build alignment
 63 |                 let neighborFn: (DagreGraph, String) -> [String] = isUp ? predecessorsFn : successorsFn
    |                                                                         `- error: type of expression is ambiguous without a type annotation
 64 |                 let alignment = verticalAlignment(g, layering: adjustedLayering, conflicts: conflicts, neighborFn: neighborFn)
 65 |
[9/31] Compiling MermaidLayoutDagre BrandesKopf.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Position/BrandesKopf.swift:63:73: error: type of expression is ambiguous without a type annotation
 61 |
 62 |                 // Build alignment
 63 |                 let neighborFn: (DagreGraph, String) -> [String] = isUp ? predecessorsFn : successorsFn
    |                                                                         `- error: type of expression is ambiguous without a type annotation
 64 |                 let alignment = verticalAlignment(g, layering: adjustedLayering, conflicts: conflicts, neighborFn: neighborFn)
 65 |
[10/31] Compiling MermaidLayoutDagre Position.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Position/BrandesKopf.swift:63:73: error: type of expression is ambiguous without a type annotation
 61 |
 62 |                 // Build alignment
 63 |                 let neighborFn: (DagreGraph, String) -> [String] = isUp ? predecessorsFn : successorsFn
    |                                                                         `- error: type of expression is ambiguous without a type annotation
 64 |                 let alignment = verticalAlignment(g, layering: adjustedLayering, conflicts: conflicts, neighborFn: neighborFn)
 65 |
[11/31] Compiling MermaidLayoutDagre Denormalize.swift
[12/31] Compiling MermaidLayoutDagre Normalize.swift
[13/31] Compiling MermaidLayoutDagre ParentDummyChains.swift
[14/31] Compiling MermaidLayoutDagre CrossCount.swift
[15/31] Compiling MermaidLayoutDagre InitOrder.swift
[16/31] Compiling MermaidLayoutDagre Order.swift
[17/31] Compiling MermaidLayoutDagre LongestPath.swift
[18/31] Compiling MermaidLayoutDagre NetworkSimplex.swift
[19/31] Compiling MermaidLayoutDagre Acyclic.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:12:24: warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     /// Counter for generating unique IDs for reversed edges
 12 |     private static var reverseIdCounter: Int = 0
    |                        |- warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'reverseIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'reverseIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:14:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static var reverseIdCounter: Int = 0
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Generates a unique ID for reversed edges (matches dagrejs's uniqueId("rev"))
[20/31] Compiling MermaidLayoutDagre GreedyFAS.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:12:24: warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     /// Counter for generating unique IDs for reversed edges
 12 |     private static var reverseIdCounter: Int = 0
    |                        |- warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'reverseIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'reverseIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:14:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static var reverseIdCounter: Int = 0
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Generates a unique ID for reversed edges (matches dagrejs's uniqueId("rev"))
[21/31] Compiling MermaidLayoutDagre EdgeId.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:12:24: warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     /// Counter for generating unique IDs for reversed edges
 12 |     private static var reverseIdCounter: Int = 0
    |                        |- warning: static property 'reverseIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'reverseIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'reverseIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Acyclic/Acyclic.swift:14:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static var reverseIdCounter: Int = 0
 13 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 14 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Generates a unique ID for reversed edges (matches dagrejs's uniqueId("rev"))
[22/31] Compiling MermaidLayoutDagre Rank.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Util/GraphUtil.swift:15:24: warning: static property '_nodeIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | public enum GraphUtil {
 14 |     /// Counter for generating unique node IDs
 15 |     private static var _nodeIdCounter = 0
    |                        |- warning: static property '_nodeIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_nodeIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_nodeIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 17 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Util/GraphUtil.swift:17:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     private static var _nodeIdCounter = 0
 16 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 17 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// Generates a unique node ID with a given prefix
[23/31] Compiling MermaidLayoutDagre GraphUtil.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Util/GraphUtil.swift:15:24: warning: static property '_nodeIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | public enum GraphUtil {
 14 |     /// Counter for generating unique node IDs
 15 |     private static var _nodeIdCounter = 0
    |                        |- warning: static property '_nodeIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_nodeIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_nodeIdCounter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 17 |     private static var counterLock = os_unfair_lock()
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Util/GraphUtil.swift:17:24: warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     private static var _nodeIdCounter = 0
 16 |     /// Lock for thread-safe counter access (os_unfair_lock for macOS 10.12+ compatibility)
 17 |     private static var counterLock = os_unfair_lock()
    |                        |- warning: static property 'counterLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'counterLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'counterLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// Generates a unique node ID with a given prefix
[24/31] Compiling MermaidLayoutDagre Graph.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Graph/Graph.swift:215:21: warning: result of 'try?' is unused
213 |             if let children = _children[v] {
214 |                 for child in children {
215 |                     try? setParent(child, parent: nil)
    |                     `- warning: result of 'try?' is unused
216 |                 }
217 |             }
[25/31] Compiling MermaidLayoutDagre GraphOptions.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Graph/Graph.swift:215:21: warning: result of 'try?' is unused
213 |             if let children = _children[v] {
214 |                 for child in children {
215 |                     try? setParent(child, parent: nil)
    |                     `- warning: result of 'try?' is unused
216 |                 }
217 |             }
[26/31] Compiling MermaidLayoutDagre AddBorderSegments.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Graph/Graph.swift:215:21: warning: result of 'try?' is unused
213 |             if let children = _children[v] {
214 |                 for child in children {
215 |                     try? setParent(child, parent: nil)
    |                     `- warning: result of 'try?' is unused
216 |                 }
217 |             }
[27/31] Compiling MermaidLayoutDagre Labels.swift
[28/31] Compiling MermaidLayoutDagre Layout.swift
[29/31] Compiling MermaidLayoutDagre NestingGraph.swift
[30/31] Compiling MermaidLayoutDagre PositionY.swift
[31/31] Compiling MermaidLayoutDagre FeasibleTree.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/27] Emitting module MermaidLayoutDagre
[3/29] Compiling MermaidLayoutDagre Acyclic.swift
[4/29] Compiling MermaidLayoutDagre GreedyFAS.swift
[5/29] Compiling MermaidLayoutDagre EdgeId.swift
[6/29] Compiling MermaidLayoutDagre Denormalize.swift
[7/29] Compiling MermaidLayoutDagre Normalize.swift
[8/29] Compiling MermaidLayoutDagre ParentDummyChains.swift
[9/29] Compiling MermaidLayoutDagre PositionY.swift
[10/29] Compiling MermaidLayoutDagre FeasibleTree.swift
[11/29] Compiling MermaidLayoutDagre CrossCount.swift
[12/29] Compiling MermaidLayoutDagre InitOrder.swift
[13/29] Compiling MermaidLayoutDagre Order.swift
[14/29] Compiling MermaidLayoutDagre AddSubgraphConstraints.swift
[15/29] Compiling MermaidLayoutDagre Barycenter.swift
[16/29] Compiling MermaidLayoutDagre BuildLayerGraph.swift
[17/29] Compiling MermaidLayoutDagre LongestPath.swift
[18/29] Compiling MermaidLayoutDagre NetworkSimplex.swift
[19/29] Compiling MermaidLayoutDagre Rank.swift
[20/29] Compiling MermaidLayoutDagre GraphUtil.swift
[21/29] Compiling MermaidLayoutDagre Labels.swift
[22/29] Compiling MermaidLayoutDagre Layout.swift
[23/29] Compiling MermaidLayoutDagre NestingGraph.swift
[24/29] Compiling MermaidLayoutDagre Graph.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Graph/Graph.swift:215:21: warning: result of 'try?' is unused
213 |             if let children = _children[v] {
214 |                 for child in children {
215 |                     try? setParent(child, parent: nil)
    |                     `- warning: result of 'try?' is unused
216 |                 }
217 |             }
[25/29] Compiling MermaidLayoutDagre GraphOptions.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Graph/Graph.swift:215:21: warning: result of 'try?' is unused
213 |             if let children = _children[v] {
214 |                 for child in children {
215 |                     try? setParent(child, parent: nil)
    |                     `- warning: result of 'try?' is unused
216 |                 }
217 |             }
[26/29] Compiling MermaidLayoutDagre AddBorderSegments.swift
/Users/admin/builder/spi-builder-workspace/Vendor/MermaidLayoutDagre/Graph/Graph.swift:215:21: warning: result of 'try?' is unused
213 |             if let children = _children[v] {
214 |                 for child in children {
215 |                     try? setParent(child, parent: nil)
    |                     `- warning: result of 'try?' is unused
216 |                 }
217 |             }
[27/29] Compiling MermaidLayoutDagre SortSubgraph.swift
[28/29] Compiling MermaidLayoutDagre BrandesKopf.swift
[29/29] Compiling MermaidLayoutDagre Position.swift
[30/66] Compiling Mermaid Mermaid.swift
[31/66] Compiling Mermaid PieParser.swift
[32/66] Compiling Mermaid PieRenderer.swift
[33/66] Compiling Mermaid SequenceModel.swift
[34/70] Compiling Mermaid CGRenderer.swift
[35/70] Compiling Mermaid DiagramDetection.swift
[36/70] Compiling Mermaid Geometry.swift
[37/70] Compiling Mermaid MermaidError.swift
[38/70] Compiling Mermaid GitGraphParser.swift
[39/70] Compiling Mermaid GitGraphRenderer.swift
[40/70] Compiling Mermaid JourneyParser.swift
[41/70] Compiling Mermaid JourneyRenderer.swift
[42/70] Compiling Mermaid Theme.swift
[43/70] Compiling Mermaid ERLayout.swift
[44/70] Compiling Mermaid ERModel.swift
[45/70] Compiling Mermaid ERParser.swift
[46/70] Compiling Mermaid ArchitectureLayout.swift
[47/70] Compiling Mermaid ArchitectureModel.swift
[48/70] Compiling Mermaid ArchitectureParser.swift
[49/70] Compiling Mermaid ArchitectureRenderer.swift
[50/70] Compiling Mermaid FlowchartParser.swift
[51/70] Compiling Mermaid FlowchartRenderer.swift
[52/70] Compiling Mermaid GitGraphLayout.swift
[53/70] Compiling Mermaid GitGraphModel.swift
[54/70] Compiling Mermaid ERRenderer.swift
[55/70] Compiling Mermaid FlowchartLayout.swift
[56/70] Compiling Mermaid FlowchartLayoutDagre.swift
[57/70] Compiling Mermaid FlowchartModel.swift
[58/70] Compiling Mermaid MermaidScene.swift
[59/70] Compiling Mermaid SVGRenderer.swift
[60/70] Compiling Mermaid Scanner.swift
[61/70] Compiling Mermaid TextMeasurement.swift
[62/70] Compiling Mermaid ClassLayout.swift
[63/70] Compiling Mermaid ClassModel.swift
[64/70] Compiling Mermaid ClassParser.swift
[65/70] Compiling Mermaid ClassRenderer.swift
[66/70] Emitting module Mermaid
[67/70] Compiling Mermaid SequenceParser.swift
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
/Users/admin/builder/spi-builder-workspace/Sources/Mermaid/Sequence/SequenceModel.swift:50:15: note: through reference here
48 | }
49 |
50 | indirect enum SequenceStatement {
   |               |- note: through reference here
   |               |- note: through reference here
   |               |- note: through reference here
   |               `- note: through reference here
51 |     case message(SequenceMessage)
52 |     case activate(String)
[68/70] Compiling Mermaid SequenceRenderer.swift
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
/Users/admin/builder/spi-builder-workspace/Sources/Mermaid/Sequence/SequenceModel.swift:50:15: note: through reference here
48 | }
49 |
50 | indirect enum SequenceStatement {
   |               |- note: through reference here
   |               |- note: through reference here
   |               |- note: through reference here
   |               `- note: through reference here
51 |     case message(SequenceMessage)
52 |     case activate(String)
[69/70] Compiling Mermaid StateModel.swift
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
/Users/admin/builder/spi-builder-workspace/Sources/Mermaid/Sequence/SequenceModel.swift:50:15: note: through reference here
48 | }
49 |
50 | indirect enum SequenceStatement {
   |               |- note: through reference here
   |               |- note: through reference here
   |               |- note: through reference here
   |               `- note: through reference here
51 |     case message(SequenceMessage)
52 |     case activate(String)
[70/70] Compiling Mermaid StateParser.swift
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
<unknown>:0: note: through reference here
/Users/admin/builder/spi-builder-workspace/Sources/Mermaid/Sequence/SequenceModel.swift:50:15: note: through reference here
48 | }
49 |
50 | indirect enum SequenceStatement {
   |               |- note: through reference here
   |               |- note: through reference here
   |               |- note: through reference here
   |               `- note: through reference here
51 |     case message(SequenceMessage)
52 |     case activate(String)
BUILD FAILURE 6.1 macosSpm