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 macOS (SPM).

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Dean151/uuid-shortener.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Emitting module UUIDShortener
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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-_"
/Users/admin/builder/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!#$%&'()*+-./:<=>?@[]^_`{|}~"
/Users/admin/builder/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]
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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-_"
/Users/admin/builder/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!#$%&'()*+-./:<=>?@[]^_`{|}~"
/Users/admin/builder/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]
/Users/admin/builder/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! (16.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UUIDShortener",
  "name" : "UUIDShortener",
  "path" : "/Users/admin/builder/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.