The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Gloss, reference main (a0d883), with Swift 6.1 for macOS (SPM) on 28 Jun 2026 07:45:05 UTC.

Swift 6 data race errors: 3

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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/haidalinda/Gloss.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/haidalinda/Gloss
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a0d8834 Use main
Cloned https://github.com/haidalinda/Gloss.git
Revision (git rev-parse @):
a0d8834faa7af21e7e02834530164784bba5a173
SUCCESS checkout https://github.com/haidalinda/Gloss.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/haidalinda/Gloss.git
https://github.com/haidalinda/Gloss.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Gloss",
  "name" : "Gloss",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gloss",
      "targets" : [
        "Gloss"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlossTests",
      "module_type" : "SwiftTarget",
      "name" : "GlossTests",
      "path" : "Sources/GlossTests",
      "sources" : [
        "Comparators.swift",
        "DecoderTests.swift",
        "EncoderTests.swift",
        "Fakes/FakeLogger.swift",
        "FlowObjectCreationTests.swift",
        "GlossTests.swift",
        "KeyPathTests.swift",
        "ObjectToJSONFlowTests.swift",
        "OperatorTests.swift",
        "Test Models/TestFailableModel.swift",
        "Test Models/TestKeyPathModel.swift",
        "Test Models/TestKeyPathModelCustomDelimiter.swift",
        "Test Models/TestModel.swift",
        "Test Models/TestNestedKeyPathModel.swift",
        "Test Models/TestNestedModel.swift",
        "Test Models/TestUnknownTypeModel.swift"
      ],
      "target_dependencies" : [
        "Gloss"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gloss",
      "module_type" : "SwiftTarget",
      "name" : "Gloss",
      "path" : "Sources/Gloss",
      "product_memberships" : [
        "Gloss"
      ],
      "sources" : [
        "Decoder.swift",
        "Encoder.swift",
        "ExtensionArray.swift",
        "ExtensionDecodable.swift",
        "ExtensionDictionary.swift",
        "ExtensionEncodable.swift",
        "Gloss.swift",
        "Operators.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/11] Compiling Gloss Operators.swift
[4/11] Compiling Gloss ExtensionEncodable.swift
[5/11] Compiling Gloss ExtensionDictionary.swift
[6/11] Compiling Gloss ExtensionDecodable.swift
[7/11] Compiling Gloss Gloss.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:87:25: warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 85 |  - returns: Date formatter.
 86 |  */
 87 | public private(set) var GlossDateFormatterISO8601: DateFormatter = {
    |                         |- warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'GlossDateFormatterISO8601' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'GlossDateFormatterISO8601' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |
 89 |     let dateFormatterISO8601 = DateFormatter()
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 |  - returns: Default key path delimiter.
204 |  */
205 | public private(set) var GlossKeyPathDelimiter: String = {
    |                         |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'GlossKeyPathDelimiter' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |     return "."
207 | }()
[8/11] Compiling Gloss Encoder.swift
[9/11] Compiling Gloss ExtensionArray.swift
[10/11] Compiling Gloss Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Decoder.swift:34:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Default logger
 34 |     public static var logger: Logger = GlossLogger()
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |
 36 |     /**
[11/11] Emitting module Gloss
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Decoder.swift:34:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Default logger
 34 |     public static var logger: Logger = GlossLogger()
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |
 36 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:87:25: warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 85 |  - returns: Date formatter.
 86 |  */
 87 | public private(set) var GlossDateFormatterISO8601: DateFormatter = {
    |                         |- warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'GlossDateFormatterISO8601' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'GlossDateFormatterISO8601' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |
 89 |     let dateFormatterISO8601 = DateFormatter()
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 |  - returns: Default key path delimiter.
204 |  */
205 | public private(set) var GlossKeyPathDelimiter: String = {
    |                         |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'GlossKeyPathDelimiter' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |     return "."
207 | }()
Build complete! (5.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Gloss",
  "name" : "Gloss",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gloss",
      "targets" : [
        "Gloss"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlossTests",
      "module_type" : "SwiftTarget",
      "name" : "GlossTests",
      "path" : "Sources/GlossTests",
      "sources" : [
        "Comparators.swift",
        "DecoderTests.swift",
        "EncoderTests.swift",
        "Fakes/FakeLogger.swift",
        "FlowObjectCreationTests.swift",
        "GlossTests.swift",
        "KeyPathTests.swift",
        "ObjectToJSONFlowTests.swift",
        "OperatorTests.swift",
        "Test Models/TestFailableModel.swift",
        "Test Models/TestKeyPathModel.swift",
        "Test Models/TestKeyPathModelCustomDelimiter.swift",
        "Test Models/TestModel.swift",
        "Test Models/TestNestedKeyPathModel.swift",
        "Test Models/TestNestedModel.swift",
        "Test Models/TestUnknownTypeModel.swift"
      ],
      "target_dependencies" : [
        "Gloss"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gloss",
      "module_type" : "SwiftTarget",
      "name" : "Gloss",
      "path" : "Sources/Gloss",
      "product_memberships" : [
        "Gloss"
      ],
      "sources" : [
        "Decoder.swift",
        "Encoder.swift",
        "ExtensionArray.swift",
        "ExtensionDecodable.swift",
        "ExtensionDictionary.swift",
        "ExtensionEncodable.swift",
        "Gloss.swift",
        "Operators.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.