The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of UUIDShortener, reference v1.0.0 (ef43dc), with Swift 6.1 for Linux on 26 Apr 2025 19:42:14 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/uuid-shortener.git
Reference: v1.0.0
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/Dean151/uuid-shortener
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at ef43dc9 Initial commit
Cloned https://github.com/Dean151/uuid-shortener.git
Revision (git rev-parse @):
ef43dc9e72b6b1f39166175b7bd6a86c34e4bd14
SUCCESS checkout https://github.com/Dean151/uuid-shortener.git at v1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Dean151/uuid-shortener.git
https://github.com/Dean151/uuid-shortener.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UUIDShortener",
  "name" : "UUIDShortener",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UUIDShortener",
      "targets" : [
        "UUIDShortener"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UUIDShortenerTests",
      "module_type" : "SwiftTarget",
      "name" : "UUIDShortenerTests",
      "path" : "Tests/UUIDShortenerTests",
      "sources" : [
        "UUIDShortenerTests.swift"
      ],
      "target_dependencies" : [
        "UUIDShortener"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UUIDShortener",
      "module_type" : "SwiftTarget",
      "name" : "UUIDShortener",
      "path" : "Sources/UUIDShortener",
      "product_memberships" : [
        "UUIDShortener"
      ],
      "sources" : [
        "UUIDShortener.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling UUIDShortener UUIDShortener.swift
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:7:23: warning: static property 'base36' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    |                       |- warning: static property 'base36' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base36' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |     /// Base 58 is flicker like convertion, excluding alike characters
  9 |     public static let base58: Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:9:23: warning: static property 'base58' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
  8 |     /// Base 58 is flicker like convertion, excluding alike characters
  9 |     public static let base58: Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
    |                       |- warning: static property 'base58' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base58' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |     /// Base 62 is using all alphanumeric characters
 11 |     public static let base62: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:11:23: warning: static property 'base62' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
  9 |     public static let base58: Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
 10 |     /// Base 62 is using all alphanumeric characters
 11 |     public static let base62: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    |                       |- warning: static property 'base62' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base62' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     /// Base 64 is using all alphanumeric characters ; plus dash `-` and underscore `_`
 13 |     public static let base64: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:13:23: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
 11 |     public static let base62: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
 12 |     /// Base 64 is using all alphanumeric characters ; plus dash `-` and underscore `_`
 13 |     public static let base64: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
    |                       |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base64' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     /// Base 90 is using all characters that are safe of use inside a cookie value.
 15 |     public static let base90: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:15:23: warning: static property 'base90' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
 13 |     public static let base64: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
 14 |     /// Base 90 is using all characters that are safe of use inside a cookie value.
 15 |     public static let base90: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~"
    |                       |- warning: static property 'base90' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base90' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     let characters: [Character]
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:43:16: warning: static property 'base16' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
 41 |
 42 | extension Alphabet {
 43 |     static let base16: Alphabet = "0123456789abcdef"
    |                |- warning: static property 'base16' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'base16' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 | }
 45 |
[4/4] Emitting module UUIDShortener
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:7:23: warning: static property 'base36' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    |                       |- warning: static property 'base36' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base36' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |     /// Base 58 is flicker like convertion, excluding alike characters
  9 |     public static let base58: Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:9:23: warning: static property 'base58' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
  8 |     /// Base 58 is flicker like convertion, excluding alike characters
  9 |     public static let base58: Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
    |                       |- warning: static property 'base58' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base58' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |     /// Base 62 is using all alphanumeric characters
 11 |     public static let base62: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:11:23: warning: static property 'base62' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
  9 |     public static let base58: Alphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
 10 |     /// Base 62 is using all alphanumeric characters
 11 |     public static let base62: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    |                       |- warning: static property 'base62' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base62' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     /// Base 64 is using all alphanumeric characters ; plus dash `-` and underscore `_`
 13 |     public static let base64: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:13:23: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
 11 |     public static let base62: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
 12 |     /// Base 64 is using all alphanumeric characters ; plus dash `-` and underscore `_`
 13 |     public static let base64: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
    |                       |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base64' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     /// Base 90 is using all characters that are safe of use inside a cookie value.
 15 |     public static let base90: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~"
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:15:23: warning: static property 'base90' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
 13 |     public static let base64: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
 14 |     /// Base 90 is using all characters that are safe of use inside a cookie value.
 15 |     public static let base90: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~"
    |                       |- warning: static property 'base90' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'base90' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     let characters: [Character]
/host/spi-builder-workspace/Sources/UUIDShortener/UUIDShortener.swift:43:16: warning: static property 'base16' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - Public
  4 |
  5 | public struct Alphabet: Equatable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'Alphabet' conform to the 'Sendable' protocol
  6 |     /// Base 36 is using all lowercases alphanumeric characters
  7 |     public static let base36: Alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"
    :
 41 |
 42 | extension Alphabet {
 43 |     static let base16: Alphabet = "0123456789abcdef"
    |                |- warning: static property 'base16' is not concurrency-safe because non-'Sendable' type 'Alphabet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'base16' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 | }
 45 |
Build complete! (6.66s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UUIDShortener",
  "name" : "UUIDShortener",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UUIDShortener",
      "targets" : [
        "UUIDShortener"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UUIDShortenerTests",
      "module_type" : "SwiftTarget",
      "name" : "UUIDShortenerTests",
      "path" : "Tests/UUIDShortenerTests",
      "sources" : [
        "UUIDShortenerTests.swift"
      ],
      "target_dependencies" : [
        "UUIDShortener"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UUIDShortener",
      "module_type" : "SwiftTarget",
      "name" : "UUIDShortener",
      "path" : "Sources/UUIDShortener",
      "product_memberships" : [
        "UUIDShortener"
      ],
      "sources" : [
        "UUIDShortener.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.