The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Chronicle, reference main (2e442a), with Swift 6.1 for macOS (SPM) on 1 Jan 2026 18:18:17 UTC.

Swift 6 data race errors: 4

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/saagarjha/Chronicle.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/saagarjha/Chronicle
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2e442a8 Format
Cloned https://github.com/saagarjha/Chronicle.git
Revision (git rev-parse @):
2e442a8f1e559a5e4807955b741520db8127b1f2
SUCCESS checkout https://github.com/saagarjha/Chronicle.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/saagarjha/Chronicle.git
https://github.com/saagarjha/Chronicle.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Chronicle",
  "name" : "Chronicle",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Chronicle",
      "targets" : [
        "Chronicle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_memberships" : [
        "Chronicle",
        "Macros"
      ],
      "sources" : [
        "Macro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "ChronicleTests",
      "module_type" : "SwiftTarget",
      "name" : "ChronicleTests",
      "path" : "Tests/ChronicleTests",
      "sources" : [
        "ChronicleTests.swift"
      ],
      "target_dependencies" : [
        "Chronicle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Chronicle",
      "module_type" : "SwiftTarget",
      "name" : "Chronicle",
      "path" : "Sources/Chronicle",
      "product_memberships" : [
        "Chronicle"
      ],
      "sources" : [
        "Buffer.swift",
        "Chronicle.swift",
        "Entry.swift",
        "EntrySequence.swift",
        "Epilog.swift",
        "Loggable.swift",
        "Logger.swift",
        "Macro.swift",
        "StringCollector.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/5] Write sources
[2/5] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Emitting module Macros
[5/7] Compiling Macros Macro.swift
[5/7] Write Objects.LinkFileList
[6/7] Linking Macros-tool
[8/17] Compiling Chronicle Logger.swift
[9/17] Compiling Chronicle StringCollector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/StringCollector.swift:7:13: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |
 6 | enum StringCollector {
 7 | 	static var initialized = false
   |             |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 | 	static var strings = [UnsafeRawBufferPointer]()
 9 | 	static var _strings = Set<UnsafeRawPointer>()
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/StringCollector.swift:8:13: warning: static property 'strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | enum StringCollector {
 7 | 	static var initialized = false
 8 | 	static var strings = [UnsafeRawBufferPointer]()
   |             |- warning: static property 'strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'strings' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'strings' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 	static var _strings = Set<UnsafeRawPointer>()
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/StringCollector.swift:9:13: warning: static property '_strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | 	static var initialized = false
 8 | 	static var strings = [UnsafeRawBufferPointer]()
 9 | 	static var _strings = Set<UnsafeRawPointer>()
   |             |- warning: static property '_strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_strings' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property '_strings' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | 	static func initializeIfNeeded() {
[10/17] Compiling Chronicle Loggable.swift
[11/17] Compiling Chronicle Entry.swift
[12/17] Compiling Chronicle EntrySequence.swift
[13/17] Compiling Chronicle Macro.swift
[14/17] Compiling Chronicle Epilog.swift
[15/17] Compiling Chronicle Buffer.swift
[16/17] Compiling Chronicle Chronicle.swift
[17/17] Emitting module Chronicle
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/StringCollector.swift:7:13: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |
 6 | enum StringCollector {
 7 | 	static var initialized = false
   |             |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 | 	static var strings = [UnsafeRawBufferPointer]()
 9 | 	static var _strings = Set<UnsafeRawPointer>()
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/StringCollector.swift:8:13: warning: static property 'strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | enum StringCollector {
 7 | 	static var initialized = false
 8 | 	static var strings = [UnsafeRawBufferPointer]()
   |             |- warning: static property 'strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'strings' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'strings' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 	static var _strings = Set<UnsafeRawPointer>()
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/StringCollector.swift:9:13: warning: static property '_strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | 	static var initialized = false
 8 | 	static var strings = [UnsafeRawBufferPointer]()
 9 | 	static var _strings = Set<UnsafeRawPointer>()
   |             |- warning: static property '_strings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_strings' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property '_strings' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | 	static func initializeIfNeeded() {
Build complete! (5.89s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Chronicle",
  "name" : "Chronicle",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Chronicle",
      "targets" : [
        "Chronicle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_memberships" : [
        "Chronicle",
        "Macros"
      ],
      "sources" : [
        "Macro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "ChronicleTests",
      "module_type" : "SwiftTarget",
      "name" : "ChronicleTests",
      "path" : "Tests/ChronicleTests",
      "sources" : [
        "ChronicleTests.swift"
      ],
      "target_dependencies" : [
        "Chronicle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Chronicle",
      "module_type" : "SwiftTarget",
      "name" : "Chronicle",
      "path" : "Sources/Chronicle",
      "product_memberships" : [
        "Chronicle"
      ],
      "sources" : [
        "Buffer.swift",
        "Chronicle.swift",
        "Entry.swift",
        "EntrySequence.swift",
        "Epilog.swift",
        "Loggable.swift",
        "Logger.swift",
        "Macro.swift",
        "StringCollector.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.