This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 6

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/uuid-shortener.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4aa608c Create LICENSE
Cloned https://github.com/Dean151/uuid-shortener.git
Revision (git rev-parse @):
4aa608ca0692b28b94f2110e3b46ebed03c65acd
SUCCESS checkout https://github.com/Dean151/uuid-shortener.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Dean151/uuid-shortener.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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: annotate 'base36' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base58' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base62' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base90' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base16' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 | }
 45 |
[4/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: annotate 'base36' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base58' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base62' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base90' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'base16' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 | }
 45 |
Build complete! (8.10s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.