The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftUITooltip, reference v1.3.1 (9e8e67), with Swift 6.1 for macOS (SPM) on 19 Dec 2025 13:59:09 UTC.

Swift 6 data race errors: 2

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/quassum/SwiftUI-Tooltip.git
Reference: v1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/quassum/SwiftUI-Tooltip
 * tag               v1.3.1     -> FETCH_HEAD
HEAD is now at 9e8e67a 27: Set the frame with content sizes (#28)
Cloned https://github.com/quassum/SwiftUI-Tooltip.git
Revision (git rev-parse @):
9e8e67a06503c4d0b9ac7bd3784b43b0afdf602f
SUCCESS checkout https://github.com/quassum/SwiftUI-Tooltip.git at v1.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/quassum/SwiftUI-Tooltip.git
https://github.com/quassum/SwiftUI-Tooltip.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUITooltip",
  "name" : "SwiftUITooltip",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUITooltip",
      "targets" : [
        "SwiftUITooltip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUITooltip",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUITooltip",
      "path" : "Sources/SwiftUITooltip",
      "product_memberships" : [
        "SwiftUITooltip"
      ],
      "sources" : [
        "TooltipModifier.swift",
        "TooltipViewExtension.swift",
        "config/ArrowOnlyTooltipConfig.swift",
        "config/DefaultTooltipConfig.swift",
        "config/TooltipConfig.swift",
        "lib/TooltipSide.swift",
        "shapes/ArrowShape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling SwiftUITooltip ArrowShape.swift
[4/10] Compiling SwiftUITooltip TooltipSide.swift
[5/10] Compiling SwiftUITooltip TooltipConfig.swift
[6/10] Compiling SwiftUITooltip TooltipViewExtension.swift
[7/10] Compiling SwiftUITooltip ArrowOnlyTooltipConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITooltip/config/ArrowOnlyTooltipConfig.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct ArrowOnlyTooltipConfig: TooltipConfig {
11 |     static var shared = ArrowOnlyTooltipConfig()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- 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
12 |
13 |     public var side: TooltipSide = .bottom
[8/10] Compiling SwiftUITooltip DefaultTooltipConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITooltip/config/DefaultTooltipConfig.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct DefaultTooltipConfig: TooltipConfig {
11 |     static var shared = DefaultTooltipConfig()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- 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
12 |
13 |     public var side: TooltipSide = .bottom
[9/10] Emitting module SwiftUITooltip
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITooltip/config/ArrowOnlyTooltipConfig.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct ArrowOnlyTooltipConfig: TooltipConfig {
11 |     static var shared = ArrowOnlyTooltipConfig()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- 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
12 |
13 |     public var side: TooltipSide = .bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITooltip/config/DefaultTooltipConfig.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct DefaultTooltipConfig: TooltipConfig {
11 |     static var shared = DefaultTooltipConfig()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- 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
12 |
13 |     public var side: TooltipSide = .bottom
[10/10] Compiling SwiftUITooltip TooltipModifier.swift
Build complete! (8.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUITooltip",
  "name" : "SwiftUITooltip",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUITooltip",
      "targets" : [
        "SwiftUITooltip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUITooltip",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUITooltip",
      "path" : "Sources/SwiftUITooltip",
      "product_memberships" : [
        "SwiftUITooltip"
      ],
      "sources" : [
        "TooltipModifier.swift",
        "TooltipViewExtension.swift",
        "config/ArrowOnlyTooltipConfig.swift",
        "config/DefaultTooltipConfig.swift",
        "config/TooltipConfig.swift",
        "lib/TooltipSide.swift",
        "shapes/ArrowShape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.