The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Pack, reference main (570f73), with Swift 6.2 (beta) for Linux on 21 Jun 2025 09:17:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattcox/Pack.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mattcox/Pack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling Pack Bool+Packed.swift
[4/24] Compiling Pack Double+Packed.swift
[5/24] Compiling Pack Float+Packed.swift
[6/24] Compiling Pack UInt+Packed.swift
[7/24] Compiling Pack UInt16+Packed.swift
[8/24] Compiling Pack UInt32+Packed.swift
[9/26] Compiling Pack UInt64+Packed.swift
[10/26] Compiling Pack UInt8+Packed.swift
[11/26] Compiling Pack Int+Packed.swift
[12/26] Compiling Pack Int16+Packed.swift
[13/26] Compiling Pack Int32+Packed.swift
[14/26] Compiling Pack Int64+Packed.swift
[15/26] Compiling Pack Int8+Packed.swift
[16/26] Compiling Pack String+Packed.swift
[17/26] Compiling Pack PackUserInfoKey.swift
[18/26] Compiling Pack Packable.swift
[19/26] Compiling Pack Packed.swift
[20/26] Compiling Pack Packer.swift
[21/26] Compiling Pack Unpackable.swift
[22/26] Compiling Pack Unpacker.swift
[23/26] Compiling Pack BinaryPack.swift
/host/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 | 		}
[24/26] Compiling Pack ByteOrder.swift
/host/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 | 		}
[25/26] Compiling Pack PackError.swift
/host/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 | 		}
[26/26] Emitting module Pack
Build complete! (19.76s)
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",
        "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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.