The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Gloss, reference 3.2.1 (efd259), with Swift 6.1 for Wasm on 27 May 2025 22:32:12 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hkellaway/Gloss.git
Reference: 3.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/hkellaway/Gloss
 * tag               3.2.1      -> FETCH_HEAD
HEAD is now at efd2596 Merge pull request #366 from hkellaway/release/3.2.1
Cloned https://github.com/hkellaway/Gloss.git
Revision (git rev-parse @):
efd25964891ae8a9cfbe2345628ad02fcb9a105c
SUCCESS checkout https://github.com/hkellaway/Gloss.git at 3.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hkellaway/Gloss.git
https://github.com/hkellaway/Gloss.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Gloss",
  "name" : "Gloss",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Emitting module Gloss
/host/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 |     /**
/host/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()
/host/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 | }()
[4/10] Compiling Gloss Decoder.swift
/host/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 |     /**
[5/11] Compiling Gloss Gloss.swift
/host/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()
/host/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 | }()
[6/11] Compiling Gloss ExtensionEncodable.swift
[7/11] Compiling Gloss ExtensionDictionary.swift
[8/11] Compiling Gloss ExtensionDecodable.swift
[9/11] Compiling Gloss ExtensionArray.swift
[10/11] Compiling Gloss Encoder.swift
[11/11] Compiling Gloss Operators.swift
Build complete! (7.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Gloss",
  "name" : "Gloss",
  "path" : "/host/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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.