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 Pack, reference main (570f73), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 14:52:41 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattcox/Pack.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattcox/Pack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 570f73d Adds userInfo for providing context to pack/unpack
Cloned https://github.com/mattcox/Pack.git
Revision (git rev-parse @):
570f73d0d94aa90a6a2dbab7ed60878dad5f3fd1
SUCCESS checkout https://github.com/mattcox/Pack.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "pack",
      "name": "Pack",
      "url": "https://github.com/mattcox/Pack.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pack",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mattcox/Pack.git
[1/96] Fetching pack
Fetched https://github.com/mattcox/Pack.git from cache (0.95s)
Creating working copy for https://github.com/mattcox/Pack.git
Working copy of https://github.com/mattcox/Pack.git resolved at main (570f73d)
warning: '.resolve-product-dependencies': dependency 'pack' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattcox/Pack.git
https://github.com/mattcox/Pack.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pack",
  "name" : "Pack",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Pack",
      "targets" : [
        "Pack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackTests",
      "module_type" : "SwiftTarget",
      "name" : "PackTests",
      "path" : "Tests/PackTests",
      "sources" : [
        "BinaryPackTests_bigEndian.swift",
        "BinaryPackTests_littleEndian.swift",
        "BinaryPackTests_packed.swift"
      ],
      "target_dependencies" : [
        "Pack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pack",
      "module_type" : "SwiftTarget",
      "name" : "Pack",
      "path" : "Sources/Pack",
      "product_memberships" : [
        "Pack"
      ],
      "sources" : [
        "BinaryPack.swift",
        "ByteOrder.swift",
        "PackError.swift",
        "PackUserInfoKey.swift",
        "Protocols/Packable.swift",
        "Protocols/Packed.swift",
        "Protocols/Packer.swift",
        "Protocols/Unpackable.swift",
        "Protocols/Unpacker.swift",
        "Types/Bool+Packed.swift",
        "Types/Double+Packed.swift",
        "Types/Float+Packed.swift",
        "Types/Int+Packed.swift",
        "Types/Int16+Packed.swift",
        "Types/Int32+Packed.swift",
        "Types/Int64+Packed.swift",
        "Types/Int8+Packed.swift",
        "Types/String+Packed.swift",
        "Types/UInt+Packed.swift",
        "Types/UInt16+Packed.swift",
        "Types/UInt32+Packed.swift",
        "Types/UInt64+Packed.swift",
        "Types/UInt8+Packed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/24] Emitting module Pack
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:43:20: warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  41 | /// object, when no options are specified.
  42 | ///
  43 | 	public static var defaultOptions: Options = [.stringsPrependedWithSize]
     |                    |- warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: convert 'defaultOptions' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  44 |
  45 | /// BinaryPack supports a number of options that controls how data is packed
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67:21: warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  65 | /// the end of the string.
  66 | ///
  67 | 		public static let stringsNullTerminated = Options(rawValue: 1 << 0)
     |                     |- warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsNullTerminated' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  68 |
  69 | /// Packs and unpacks strings by storing the size of the string data as
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:72:21: warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  70 | /// an `Int32`, immediately before the string.
  71 | ///
  72 | 		public static let stringsPrependedWithSize = Options(rawValue: 1 << 1)
     |                     |- warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsPrependedWithSize' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |
  74 | /// Specifies no options.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:80:21: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  78 | /// will not know when to stop reading the string.
  79 | ///
  80 | 		public static var none = Options(rawValue: .zero)
     |                     |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  81 |
  82 | /// Initialize a new Options object from a raw value.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/ByteOrder.swift:46:20: warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 | /// The byte order used by the system this module has been compiled for.
 45 | ///
 46 | 	public static var system: ByteOrder = ByteOrder(from: CFByteOrderGetCurrent())
    |                    |- warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'system' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 | /// Returns the byte order as a `CFByteOrder` Core Foundation type.
[4/26] Compiling Pack Int16+Packed.swift
[5/26] Compiling Pack Int32+Packed.swift
[6/26] Compiling Pack UInt16+Packed.swift
[7/26] Compiling Pack UInt32+Packed.swift
[8/26] Compiling Pack Bool+Packed.swift
[9/26] Compiling Pack Double+Packed.swift
[10/26] Compiling Pack UInt64+Packed.swift
[11/26] Compiling Pack UInt8+Packed.swift
[12/26] Compiling Pack Int64+Packed.swift
[13/26] Compiling Pack Int8+Packed.swift
[14/26] Compiling Pack BinaryPack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:43:20: warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  41 | /// object, when no options are specified.
  42 | ///
  43 | 	public static var defaultOptions: Options = [.stringsPrependedWithSize]
     |                    |- warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: convert 'defaultOptions' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  44 |
  45 | /// BinaryPack supports a number of options that controls how data is packed
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67:21: warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  65 | /// the end of the string.
  66 | ///
  67 | 		public static let stringsNullTerminated = Options(rawValue: 1 << 0)
     |                     |- warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsNullTerminated' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  68 |
  69 | /// Packs and unpacks strings by storing the size of the string data as
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:72:21: warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  70 | /// an `Int32`, immediately before the string.
  71 | ///
  72 | 		public static let stringsPrependedWithSize = Options(rawValue: 1 << 1)
     |                     |- warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsPrependedWithSize' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |
  74 | /// Specifies no options.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:80:21: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  78 | /// will not know when to stop reading the string.
  79 | ///
  80 | 		public static var none = Options(rawValue: .zero)
     |                     |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  81 |
  82 | /// Initialize a new Options object from a raw value.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/ByteOrder.swift:46:20: warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 | /// The byte order used by the system this module has been compiled for.
 45 | ///
 46 | 	public static var system: ByteOrder = ByteOrder(from: CFByteOrderGetCurrent())
    |                    |- warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'system' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 | /// Returns the byte order as a `CFByteOrder` Core Foundation type.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:344:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 342 | 		for i in (0..<bytesCount).reversed() {
 343 | 			var byte = (value >> (i * 8)) & bitMask
 344 | 			let byteData = Data(bytes: &byte, count: MemoryLayout<UInt8>.size)
     |                               `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 345 | 			bytes.append(byteData)
 346 | 		}
[15/26] Compiling Pack ByteOrder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:43:20: warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  41 | /// object, when no options are specified.
  42 | ///
  43 | 	public static var defaultOptions: Options = [.stringsPrependedWithSize]
     |                    |- warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: convert 'defaultOptions' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  44 |
  45 | /// BinaryPack supports a number of options that controls how data is packed
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67:21: warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  65 | /// the end of the string.
  66 | ///
  67 | 		public static let stringsNullTerminated = Options(rawValue: 1 << 0)
     |                     |- warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsNullTerminated' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  68 |
  69 | /// Packs and unpacks strings by storing the size of the string data as
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:72:21: warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  70 | /// an `Int32`, immediately before the string.
  71 | ///
  72 | 		public static let stringsPrependedWithSize = Options(rawValue: 1 << 1)
     |                     |- warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsPrependedWithSize' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |
  74 | /// Specifies no options.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:80:21: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  78 | /// will not know when to stop reading the string.
  79 | ///
  80 | 		public static var none = Options(rawValue: .zero)
     |                     |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  81 |
  82 | /// Initialize a new Options object from a raw value.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/ByteOrder.swift:46:20: warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 | /// The byte order used by the system this module has been compiled for.
 45 | ///
 46 | 	public static var system: ByteOrder = ByteOrder(from: CFByteOrderGetCurrent())
    |                    |- warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'system' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 | /// Returns the byte order as a `CFByteOrder` Core Foundation type.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:344:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 342 | 		for i in (0..<bytesCount).reversed() {
 343 | 			var byte = (value >> (i * 8)) & bitMask
 344 | 			let byteData = Data(bytes: &byte, count: MemoryLayout<UInt8>.size)
     |                               `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 345 | 			bytes.append(byteData)
 346 | 		}
[16/26] Compiling Pack PackError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:43:20: warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  41 | /// object, when no options are specified.
  42 | ///
  43 | 	public static var defaultOptions: Options = [.stringsPrependedWithSize]
     |                    |- warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: convert 'defaultOptions' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  44 |
  45 | /// BinaryPack supports a number of options that controls how data is packed
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67:21: warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  65 | /// the end of the string.
  66 | ///
  67 | 		public static let stringsNullTerminated = Options(rawValue: 1 << 0)
     |                     |- warning: static property 'stringsNullTerminated' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsNullTerminated' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  68 |
  69 | /// Packs and unpacks strings by storing the size of the string data as
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:72:21: warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  49 | /// multiple options.
  50 | ///
  51 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  52 | /// The corresponding value of the raw type.
  53 | ///
     :
  70 | /// an `Int32`, immediately before the string.
  71 | ///
  72 | 		public static let stringsPrependedWithSize = Options(rawValue: 1 << 1)
     |                     |- warning: static property 'stringsPrependedWithSize' is not concurrency-safe because non-'Sendable' type 'BinaryPack.Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: add '@MainActor' to make static property 'stringsPrependedWithSize' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |
  74 | /// Specifies no options.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:80:21: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  78 | /// will not know when to stop reading the string.
  79 | ///
  80 | 		public static var none = Options(rawValue: .zero)
     |                     |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  81 |
  82 | /// Initialize a new Options object from a raw value.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/ByteOrder.swift:46:20: warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 | /// The byte order used by the system this module has been compiled for.
 45 | ///
 46 | 	public static var system: ByteOrder = ByteOrder(from: CFByteOrderGetCurrent())
    |                    |- warning: static property 'system' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'system' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 | /// Returns the byte order as a `CFByteOrder` Core Foundation type.
/Users/admin/builder/spi-builder-workspace/Sources/Pack/BinaryPack.swift:344:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 342 | 		for i in (0..<bytesCount).reversed() {
 343 | 			var byte = (value >> (i * 8)) & bitMask
 344 | 			let byteData = Data(bytes: &byte, count: MemoryLayout<UInt8>.size)
     |                               `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 345 | 			bytes.append(byteData)
 346 | 		}
[17/26] Compiling Pack String+Packed.swift
[18/26] Compiling Pack UInt+Packed.swift
[19/26] Compiling Pack Float+Packed.swift
[20/26] Compiling Pack Int+Packed.swift
[21/26] Compiling Pack PackUserInfoKey.swift
[22/26] Compiling Pack Packable.swift
[23/26] Compiling Pack Packed.swift
[24/26] Compiling Pack Packer.swift
[25/26] Compiling Pack Unpackable.swift
[26/26] Compiling Pack Unpacker.swift
Build complete! (4.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pack",
  "name" : "Pack",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Pack",
      "targets" : [
        "Pack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackTests",
      "module_type" : "SwiftTarget",
      "name" : "PackTests",
      "path" : "Tests/PackTests",
      "sources" : [
        "BinaryPackTests_bigEndian.swift",
        "BinaryPackTests_littleEndian.swift",
        "BinaryPackTests_packed.swift"
      ],
      "target_dependencies" : [
        "Pack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pack",
      "module_type" : "SwiftTarget",
      "name" : "Pack",
      "path" : "Sources/Pack",
      "product_memberships" : [
        "Pack"
      ],
      "sources" : [
        "BinaryPack.swift",
        "ByteOrder.swift",
        "PackError.swift",
        "PackUserInfoKey.swift",
        "Protocols/Packable.swift",
        "Protocols/Packed.swift",
        "Protocols/Packer.swift",
        "Protocols/Unpackable.swift",
        "Protocols/Unpacker.swift",
        "Types/Bool+Packed.swift",
        "Types/Double+Packed.swift",
        "Types/Float+Packed.swift",
        "Types/Int+Packed.swift",
        "Types/Int16+Packed.swift",
        "Types/Int32+Packed.swift",
        "Types/Int64+Packed.swift",
        "Types/Int8+Packed.swift",
        "Types/String+Packed.swift",
        "Types/UInt+Packed.swift",
        "Types/UInt16+Packed.swift",
        "Types/UInt32+Packed.swift",
        "Types/UInt64+Packed.swift",
        "Types/UInt8+Packed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.