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 v1.0.0 (9320c5), with Swift 6.1 for Linux on 28 Apr 2025 14:44:03 UTC.

Swift 6 data race errors: 5

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/mattcox/Pack.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/mattcox/Pack
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 9320c52 Update README.md
Cloned https://github.com/mattcox/Pack.git
Revision (git rev-parse @):
9320c523268d8fd58b6b4b7839eab5523e959f4f
SUCCESS checkout https://github.com/mattcox/Pack.git at v1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattcox/Pack.git
https://github.com/mattcox/Pack.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pack",
  "name" : "Pack",
  "path" : "/host/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",
        "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 ...
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/23] Emitting module Pack
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:38: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
  36 | /// object, when no options are specified.
  37 | ///
  38 | 	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
  39 |
  40 | /// BinaryPack supports a number of options that controls how data is packed
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:62: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  60 | /// the end of the string.
  61 | ///
  62 | 		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
  63 |
  64 | /// Packs and unpacks strings by storing the size of the string data as
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  65 | /// an `Int32`, immediately before the string.
  66 | ///
  67 | 		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
  68 |
  69 | /// Specifies no options.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:75: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
  73 | /// will not know when to stop reading the string.
  74 | ///
  75 | 		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
  76 |
  77 | /// Initialize a new Options object from a raw value.
/host/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/25] Compiling Pack Double+Packed.swift
[5/25] Compiling Pack Float+Packed.swift
[6/25] Compiling Pack Int+Packed.swift
[7/25] Compiling Pack UInt64+Packed.swift
[8/25] Compiling Pack UInt8+Packed.swift
[9/25] Compiling Pack UInt16+Packed.swift
[10/25] Compiling Pack UInt32+Packed.swift
[11/25] Compiling Pack Int8+Packed.swift
[12/25] Compiling Pack String+Packed.swift
[13/25] Compiling Pack UInt+Packed.swift
[14/25] Compiling Pack BinaryPack.swift
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:38: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
  36 | /// object, when no options are specified.
  37 | ///
  38 | 	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
  39 |
  40 | /// BinaryPack supports a number of options that controls how data is packed
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:62: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  60 | /// the end of the string.
  61 | ///
  62 | 		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
  63 |
  64 | /// Packs and unpacks strings by storing the size of the string data as
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  65 | /// an `Int32`, immediately before the string.
  66 | ///
  67 | 		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
  68 |
  69 | /// Specifies no options.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:75: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
  73 | /// will not know when to stop reading the string.
  74 | ///
  75 | 		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
  76 |
  77 | /// Initialize a new Options object from a raw value.
/host/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.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:339:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 337 | 		for i in (0..<bytesCount).reversed() {
 338 | 			var byte = (value >> (i * 8)) & bitMask
 339 | 			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.
 340 | 			bytes.append(byteData)
 341 | 		}
[15/25] Compiling Pack ByteOrder.swift
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:38: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
  36 | /// object, when no options are specified.
  37 | ///
  38 | 	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
  39 |
  40 | /// BinaryPack supports a number of options that controls how data is packed
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:62: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  60 | /// the end of the string.
  61 | ///
  62 | 		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
  63 |
  64 | /// Packs and unpacks strings by storing the size of the string data as
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  65 | /// an `Int32`, immediately before the string.
  66 | ///
  67 | 		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
  68 |
  69 | /// Specifies no options.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:75: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
  73 | /// will not know when to stop reading the string.
  74 | ///
  75 | 		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
  76 |
  77 | /// Initialize a new Options object from a raw value.
/host/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.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:339:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 337 | 		for i in (0..<bytesCount).reversed() {
 338 | 			var byte = (value >> (i * 8)) & bitMask
 339 | 			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.
 340 | 			bytes.append(byteData)
 341 | 		}
[16/25] Compiling Pack PackError.swift
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:38: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
  36 | /// object, when no options are specified.
  37 | ///
  38 | 	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
  39 |
  40 | /// BinaryPack supports a number of options that controls how data is packed
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:62: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  60 | /// the end of the string.
  61 | ///
  62 | 		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
  63 |
  64 | /// Packs and unpacks strings by storing the size of the string data as
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:67: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
  44 | /// multiple options.
  45 | ///
  46 | 	public struct Options: OptionSet {
     |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
  47 | /// The corresponding value of the raw type.
  48 | ///
     :
  65 | /// an `Int32`, immediately before the string.
  66 | ///
  67 | 		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
  68 |
  69 | /// Specifies no options.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:75: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
  73 | /// will not know when to stop reading the string.
  74 | ///
  75 | 		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
  76 |
  77 | /// Initialize a new Options object from a raw value.
/host/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.
/host/spi-builder-workspace/Sources/Pack/BinaryPack.swift:339:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 337 | 		for i in (0..<bytesCount).reversed() {
 338 | 			var byte = (value >> (i * 8)) & bitMask
 339 | 			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.
 340 | 			bytes.append(byteData)
 341 | 		}
[17/25] Compiling Pack Int16+Packed.swift
[18/25] Compiling Pack Int32+Packed.swift
[19/25] Compiling Pack Int64+Packed.swift
[20/25] Compiling Pack Packable.swift
[21/25] Compiling Pack Packed.swift
[22/25] Compiling Pack Packer.swift
[23/25] Compiling Pack Unpackable.swift
[24/25] Compiling Pack Unpacker.swift
[25/25] Compiling Pack Bool+Packed.swift
Build complete! (7.50s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pack",
  "name" : "Pack",
  "path" : "/host/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",
        "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"
}
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.