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 Bits, reference 1.1.1 (030794), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 00:49:52 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/bits.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/bits
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 0307947 Merge pull request #21 from vapor-community/warnings
Cloned https://github.com/vapor-community/bits.git
Revision (git rev-parse @):
03079476b04139a8b744ad96f975176df5ae12bc
SUCCESS checkout https://github.com/vapor-community/bits.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor-community/bits.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/21] Compiling Bits String+BytesConvertible.swift
[4/21] Compiling Bits UnsignedInteger+BytesConvertible.swift
[5/22] Compiling Bits UnsignedInteger+Shifting.swift
[6/22] Compiling Bits Byte+Random.swift
[7/22] Compiling Bits Byte+UTF8Numbers.swift
[8/22] Compiling Bits Byte+Alphabet.swift
[9/22] Compiling Bits Byte+ControlCharacters.swift
[10/22] Compiling Bits Aliases.swift
[11/22] Compiling Bits Base64Encoder.swift
[12/22] Emitting module Bits
[13/22] Compiling Bits BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Data+BytesConvertible.swift:6:22: warning: initialization of 'UnsafeMutableBufferPointer<Byte>' (aka 'UnsafeMutableBufferPointer<UInt8>') results in a dangling buffer pointer [#TemporaryPointers]
 4 |     public func makeBytes() -> Bytes {
 5 |         var array = Bytes(repeating: 0, count: count)
 6 |         let buffer = UnsafeMutableBufferPointer(start: &array, count: count)
   |                      |                                 |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeMutablePointer<Byte>?' (aka 'Optional<UnsafeMutablePointer<UInt8>>') produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                      |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                      `- warning: initialization of 'UnsafeMutableBufferPointer<Byte>' (aka 'UnsafeMutableBufferPointer<UInt8>') results in a dangling buffer pointer [#TemporaryPointers]
 7 |         _ = copyBytes(to: buffer)
 8 |         return array
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[14/22] Compiling Bits Data+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Data+BytesConvertible.swift:6:22: warning: initialization of 'UnsafeMutableBufferPointer<Byte>' (aka 'UnsafeMutableBufferPointer<UInt8>') results in a dangling buffer pointer [#TemporaryPointers]
 4 |     public func makeBytes() -> Bytes {
 5 |         var array = Bytes(repeating: 0, count: count)
 6 |         let buffer = UnsafeMutableBufferPointer(start: &array, count: count)
   |                      |                                 |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeMutablePointer<Byte>?' (aka 'Optional<UnsafeMutablePointer<UInt8>>') produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                      |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                      `- warning: initialization of 'UnsafeMutableBufferPointer<Byte>' (aka 'UnsafeMutableBufferPointer<UInt8>') results in a dangling buffer pointer [#TemporaryPointers]
 7 |         _ = copyBytes(to: buffer)
 8 |         return array
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[15/22] Compiling Bits HexEncoder.swift
[16/22] Compiling Bits Operators.swift
[17/22] Compiling Bits Byte+Convenience.swift
[18/22] Compiling Bits Byte+PatternMatching.swift
[19/22] Compiling Bits ByteSequence+Conversions.swift
[20/22] Compiling Bits Bytes+Base64.swift
[21/22] Compiling Bits Bytes+Hex.swift
[22/22] Compiling Bits Bytes+Percent.swift
Build complete! (3.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Bits",
  "name" : "Bits",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Bits",
      "targets" : [
        "Bits"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BitsTests",
      "module_type" : "SwiftTarget",
      "name" : "BitsTests",
      "path" : "Tests/BitsTests",
      "sources" : [
        "AlphabetTests.swift",
        "ByteTests.swift",
        "BytesTests.swift",
        "ControlCharacterTests.swift",
        "PatternMatchingTests.swift",
        "UnsignedIntegerTests.swift"
      ],
      "target_dependencies" : [
        "Bits"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Bits",
      "module_type" : "SwiftTarget",
      "name" : "Bits",
      "path" : "Sources/Bits",
      "product_memberships" : [
        "Bits"
      ],
      "sources" : [
        "Aliases.swift",
        "Base64Encoder.swift",
        "Byte+Alphabet.swift",
        "Byte+ControlCharacters.swift",
        "Byte+Convenience.swift",
        "Byte+PatternMatching.swift",
        "Byte+Random.swift",
        "Byte+UTF8Numbers.swift",
        "ByteSequence+Conversions.swift",
        "Bytes+Base64.swift",
        "Bytes+Hex.swift",
        "Bytes+Percent.swift",
        "BytesConvertible.swift",
        "Data+BytesConvertible.swift",
        "HexEncoder.swift",
        "Operators.swift",
        "String+BytesConvertible.swift",
        "UnsignedInteger+BytesConvertible.swift",
        "UnsignedInteger+Shifting.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.