The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DidUpdate, reference main (7ca130), with Swift 6.1 for macOS (SPM) on 3 Apr 2026 15:04:19 UTC.

Swift 6 data race errors: 1

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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PimCoumans/DidUpdate.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PimCoumans/DidUpdate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7ca1301 Allow Set of RawRepresentable in StoredValue
Cloned https://github.com/PimCoumans/DidUpdate.git
Revision (git rev-parse @):
7ca1301b2a7703e9b9958f96d4ab009150dc4ce9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/PimCoumans/DidUpdate.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PimCoumans/DidUpdate.git
https://github.com/PimCoumans/DidUpdate.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DidUpdate",
  "name" : "DidUpdate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DidUpdate",
      "targets" : [
        "DidUpdate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DidUpdateTests",
      "module_type" : "SwiftTarget",
      "name" : "DidUpdateTests",
      "path" : "Tests/DidUpdateTests",
      "sources" : [
        "ViewModelStateTests.swift"
      ],
      "target_dependencies" : [
        "DidUpdate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DidUpdate",
      "module_type" : "SwiftTarget",
      "name" : "DidUpdate",
      "path" : "Sources/DidUpdate",
      "product_memberships" : [
        "DidUpdate"
      ],
      "sources" : [
        "Observers/StateObserver.swift",
        "Observers/StateValueObserver.swift",
        "Property Wrappers/ExternallyUpdating.swift",
        "Property Wrappers/ObservedState.swift",
        "Property Wrappers/ObservedValue.swift",
        "Property Wrappers/ReadOnlyProxy+compound.swift",
        "Property Wrappers/ReadOnlyProxy.swift",
        "Property Wrappers/StoredValue.swift",
        "Property Wrappers/ValueProxy.swift",
        "Property Wrappers/WeakReadOnlyProxy.swift",
        "Property Wrappers/WeakValueProxy.swift",
        "Protocols/ObservableState.swift",
        "Protocols/UpdateObservable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/15] Compiling DidUpdate WeakValueProxy.swift
[4/16] Compiling DidUpdate ReadOnlyProxy.swift
[5/16] Compiling DidUpdate WeakReadOnlyProxy.swift
[6/16] Compiling DidUpdate ValueProxy.swift
[7/16] Compiling DidUpdate UpdateObservable.swift
[8/16] Compiling DidUpdate StateObserver.swift
[9/16] Compiling DidUpdate StateValueObserver.swift
[10/16] Compiling DidUpdate ExternallyUpdating.swift
[11/16] Compiling DidUpdate ObservedState.swift
[12/16] Emitting module DidUpdate
/Users/admin/builder/spi-builder-workspace/Sources/DidUpdate/Protocols/ObservableState.swift:68:13: warning: let 'key' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
 66 | }
 67 |
 68 | private let key = malloc(1)!
    |             |- warning: let 'key' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'key' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 | extension ObservableState {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
[13/16] Compiling DidUpdate ObservedValue.swift
[14/16] Compiling DidUpdate ReadOnlyProxy+compound.swift
[15/16] Compiling DidUpdate ObservableState.swift
/Users/admin/builder/spi-builder-workspace/Sources/DidUpdate/Protocols/ObservableState.swift:68:13: warning: let 'key' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
 66 | }
 67 |
 68 | private let key = malloc(1)!
    |             |- warning: let 'key' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'key' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 | extension ObservableState {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
[16/16] Compiling DidUpdate StoredValue.swift
Build complete! (4.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DidUpdate",
  "name" : "DidUpdate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DidUpdate",
      "targets" : [
        "DidUpdate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DidUpdateTests",
      "module_type" : "SwiftTarget",
      "name" : "DidUpdateTests",
      "path" : "Tests/DidUpdateTests",
      "sources" : [
        "ViewModelStateTests.swift"
      ],
      "target_dependencies" : [
        "DidUpdate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DidUpdate",
      "module_type" : "SwiftTarget",
      "name" : "DidUpdate",
      "path" : "Sources/DidUpdate",
      "product_memberships" : [
        "DidUpdate"
      ],
      "sources" : [
        "Observers/StateObserver.swift",
        "Observers/StateValueObserver.swift",
        "Property Wrappers/ExternallyUpdating.swift",
        "Property Wrappers/ObservedState.swift",
        "Property Wrappers/ObservedValue.swift",
        "Property Wrappers/ReadOnlyProxy+compound.swift",
        "Property Wrappers/ReadOnlyProxy.swift",
        "Property Wrappers/StoredValue.swift",
        "Property Wrappers/ValueProxy.swift",
        "Property Wrappers/WeakReadOnlyProxy.swift",
        "Property Wrappers/WeakValueProxy.swift",
        "Protocols/ObservableState.swift",
        "Protocols/UpdateObservable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.