The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ContextuallyUniqueIdentifier, reference production (ede27f), with Swift 6.1 for Android on 27 Jan 2026 06:43:56 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-ContextuallyUniqueIdentifier.git
Reference: production
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/RougeWare/Swift-ContextuallyUniqueIdentifier
 * branch            production -> FETCH_HEAD
 * [new branch]      production -> origin/production
HEAD is now at ede27fa Merge pull request #3 from RougeWare/feature/renaming/COID
Cloned https://github.com/RougeWare/Swift-ContextuallyUniqueIdentifier.git
Revision (git rev-parse @):
ede27fa9e881b4c928559bf281bb9b0154e96f20
SUCCESS checkout https://github.com/RougeWare/Swift-ContextuallyUniqueIdentifier.git at production
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-ContextuallyUniqueIdentifier.git
https://github.com/RougeWare/Swift-ContextuallyUniqueIdentifier.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-simple-logging",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Simple-Logging.git"
    }
  ],
  "manifest_display_name" : "ContextuallyUniqueIdentifier",
  "name" : "ContextuallyUniqueIdentifier",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "COID",
      "targets" : [
        "COID"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppUniqueIdentifier",
      "targets" : [
        "COID"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ContextuallyUniqueIdentifierTests",
      "module_type" : "SwiftTarget",
      "name" : "ContextuallyUniqueIdentifierTests",
      "path" : "Tests/ContextuallyUniqueIdentifierTests",
      "sources" : [
        "ContextuallyUniqueIdentifierTests.swift"
      ],
      "target_dependencies" : [
        "COID"
      ],
      "type" : "test"
    },
    {
      "c99name" : "COID",
      "module_type" : "SwiftTarget",
      "name" : "COID",
      "path" : "Sources/COID",
      "product_dependencies" : [
        "SimpleLogging"
      ],
      "product_memberships" : [
        "COID",
        "AppUniqueIdentifier"
      ],
      "sources" : [
        "ContextuallyUniqueIdentifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/RougeWare/Swift-Simple-Logging.git
[1/376] Fetching swift-simple-logging
Fetched https://github.com/RougeWare/Swift-Simple-Logging.git from cache (0.22s)
Computing version for https://github.com/RougeWare/Swift-Simple-Logging.git
Computed https://github.com/RougeWare/Swift-Simple-Logging.git at 0.5.2 (0.90s)
Fetching https://github.com/RougeWare/Swift-Lazy-Containers.git
Fetching https://github.com/RougeWare/Swift-Function-Tools.git
[1/395] Fetching swift-lazy-containers
[357/516] Fetching swift-lazy-containers, swift-function-tools
Fetched https://github.com/RougeWare/Swift-Lazy-Containers.git from cache (0.19s)
Fetched https://github.com/RougeWare/Swift-Function-Tools.git from cache (0.19s)
Computing version for https://github.com/RougeWare/Swift-Function-Tools.git
Computed https://github.com/RougeWare/Swift-Function-Tools.git at 1.2.4 (0.77s)
Computing version for https://github.com/RougeWare/Swift-Lazy-Containers.git
Computed https://github.com/RougeWare/Swift-Lazy-Containers.git at 4.1.0 (0.67s)
Creating working copy for https://github.com/RougeWare/Swift-Function-Tools.git
Working copy of https://github.com/RougeWare/Swift-Function-Tools.git resolved at 1.2.4
Creating working copy for https://github.com/RougeWare/Swift-Lazy-Containers.git
Working copy of https://github.com/RougeWare/Swift-Lazy-Containers.git resolved at 4.1.0
Creating working copy for https://github.com/RougeWare/Swift-Simple-Logging.git
Working copy of https://github.com/RougeWare/Swift-Simple-Logging.git resolved at 0.5.2
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling LazyContainers LazyContainers.swift
[7/18] Compiling LazyContainers LazyContainer + Hashable.swift
[8/18] Compiling LazyContainers LazyContainer + Equatable.swift
[9/18] Emitting module LazyContainers
[10/18] Compiling LazyContainers LazyContainer + Codable.swift
[11/19] Compiling FunctionTools Blackholes.swift
[12/19] Compiling FunctionTools !.swift
[13/20] Compiling FunctionTools Echo.swift
[14/20] Emitting module FunctionTools
[16/20] Compiling FunctionTools Curry.swift
[17/20] Compiling FunctionTools Constant.swift
[18/20] Compiling FunctionTools Call.swift
[19/20] Compiling FunctionTools Function types.swift
[20/20] Compiling FunctionTools Null functions.swift
[22/33] Compiling SimpleLogging LoggableError.swift
[23/34] Compiling SimpleLogging Loggable.swift
[24/34] Compiling SimpleLogging LogSeverity.swift
[25/34] Compiling SimpleLogging LogMessage.swift
[26/34] Compiling SimpleLogging LogMessageProtocol.swift
[27/34] Compiling SimpleLogging CombinedLoggable.swift
[28/34] Compiling SimpleLogging FileHandle + TextOutputStream.swift
[29/34] Emitting module SimpleLogging
[30/34] Compiling SimpleLogging CodeLogMessage.swift
[31/34] Compiling SimpleLogging CombinedLogMessage.swift
[32/34] Compiling SimpleLogging LogChannel.swift
[33/34] Compiling SimpleLogging LogManager.swift
[34/34] Compiling SimpleLogging Simple Logging.swift
[36/37] Emitting module COID
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:72:24: warning: static property '__idRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// The IDs which are currently in use in this runtime
 72 |     private static var __idRegistry = Set<ID>()
    |                        |- warning: static property '__idRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '__idRegistry' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '__idRegistry' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |     /// Controls access to ID registration
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:78:24: warning: static property '__nextAvailableIdRawValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |
 77 |     /// Backing storage for ``nextAvailableIdRawValue``. Do not access this outside the ``nextIdExclusiveAccessQueue``
 78 |     private static var __nextAvailableIdRawValue = RegionRanges.generalUse.lowerBound
    |                        |- warning: static property '__nextAvailableIdRawValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '__nextAvailableIdRawValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '__nextAvailableIdRawValue' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     /// Keeps track of the mimimum ID which is not yet used
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:265:16: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'ContextuallyUniqueIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 42 | /// 🔒 🔒 🔒 🔒 🔒 🔒 🔒 *️⃣ *️⃣ ❗️
 43 | /// ```
 44 | public struct ContextuallyUniqueIdentifier {
    |               `- note: consider making struct 'ContextuallyUniqueIdentifier' conform to the 'Sendable' protocol
 45 |     private let rawValue: ID
 46 | }
    :
263 |     /// This special value is the only one in the error region, and only means that a serious problem occurred (e.g. could not allocate an COID).
264 |     /// This exists to allow objects to still exist while requiring a non-nil COID field, even after a serious problem occurred.
265 |     static let error = Self(rawValue: RegionRanges.error)
    |                |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'ContextuallyUniqueIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |
[37/37] Compiling COID ContextuallyUniqueIdentifier.swift
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:72:24: warning: static property '__idRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// The IDs which are currently in use in this runtime
 72 |     private static var __idRegistry = Set<ID>()
    |                        |- warning: static property '__idRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '__idRegistry' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '__idRegistry' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |     /// Controls access to ID registration
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:78:24: warning: static property '__nextAvailableIdRawValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |
 77 |     /// Backing storage for ``nextAvailableIdRawValue``. Do not access this outside the ``nextIdExclusiveAccessQueue``
 78 |     private static var __nextAvailableIdRawValue = RegionRanges.generalUse.lowerBound
    |                        |- warning: static property '__nextAvailableIdRawValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '__nextAvailableIdRawValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '__nextAvailableIdRawValue' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     /// Keeps track of the mimimum ID which is not yet used
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:265:16: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'ContextuallyUniqueIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 42 | /// 🔒 🔒 🔒 🔒 🔒 🔒 🔒 *️⃣ *️⃣ ❗️
 43 | /// ```
 44 | public struct ContextuallyUniqueIdentifier {
    |               `- note: consider making struct 'ContextuallyUniqueIdentifier' conform to the 'Sendable' protocol
 45 |     private let rawValue: ID
 46 | }
    :
263 |     /// This special value is the only one in the error region, and only means that a serious problem occurred (e.g. could not allocate an COID).
264 |     /// This exists to allow objects to still exist while requiring a non-nil COID field, even after a serious problem occurred.
265 |     static let error = Self(rawValue: RegionRanges.error)
    |                |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'ContextuallyUniqueIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:126:20: warning: capture of 'id' with non-sendable type 'ContextuallyUniqueIdentifier' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 | /// 🔒 🔒 🔒 🔒 🔒 🔒 🔒 *️⃣ *️⃣ ❗️
 43 | /// ```
 44 | public struct ContextuallyUniqueIdentifier {
    |               `- note: consider making struct 'ContextuallyUniqueIdentifier' conform to the 'Sendable' protocol
 45 |     private let rawValue: ID
 46 | }
    :
124 |
125 |             nextIdExclusiveAccessQueue.async { [id] in
126 |                 if id.rawValue == __nextAvailableIdRawValue {
    |                    `- warning: capture of 'id' with non-sendable type 'ContextuallyUniqueIdentifier' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |                     __nextAvailableIdRawValue += 1
128 |                 }
/host/spi-builder-workspace/Sources/COID/ContextuallyUniqueIdentifier.swift:168:20: warning: capture of 'id' with non-sendable type 'ContextuallyUniqueIdentifier' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 | /// 🔒 🔒 🔒 🔒 🔒 🔒 🔒 *️⃣ *️⃣ ❗️
 43 | /// ```
 44 | public struct ContextuallyUniqueIdentifier {
    |               `- note: consider making struct 'ContextuallyUniqueIdentifier' conform to the 'Sendable' protocol
 45 |     private let rawValue: ID
 46 | }
    :
166 |
167 |             nextIdExclusiveAccessQueue.async {
168 |                 if id.rawValue < __nextAvailableIdRawValue {
    |                    `- warning: capture of 'id' with non-sendable type 'ContextuallyUniqueIdentifier' in a '@Sendable' closure; this is an error in the Swift 6 language mode
169 |                     __nextAvailableIdRawValue = id.rawValue
170 |                 }
Build complete! (24.06s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-simple-logging",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Simple-Logging.git"
    }
  ],
  "manifest_display_name" : "ContextuallyUniqueIdentifier",
  "name" : "ContextuallyUniqueIdentifier",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "COID",
      "targets" : [
        "COID"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppUniqueIdentifier",
      "targets" : [
        "COID"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ContextuallyUniqueIdentifierTests",
      "module_type" : "SwiftTarget",
      "name" : "ContextuallyUniqueIdentifierTests",
      "path" : "Tests/ContextuallyUniqueIdentifierTests",
      "sources" : [
        "ContextuallyUniqueIdentifierTests.swift"
      ],
      "target_dependencies" : [
        "COID"
      ],
      "type" : "test"
    },
    {
      "c99name" : "COID",
      "module_type" : "SwiftTarget",
      "name" : "COID",
      "path" : "Sources/COID",
      "product_dependencies" : [
        "SimpleLogging"
      ],
      "product_memberships" : [
        "COID",
        "AppUniqueIdentifier"
      ],
      "sources" : [
        "ContextuallyUniqueIdentifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.