The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Random, reference master (bec3e7), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 05:15:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/random.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/random
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bec3e75 Merge pull request #14 from vapor/cci2
Cloned https://github.com/vapor-community/random.git
Revision (git rev-parse @):
bec3e7506c0702940a63761cc673b8dd87f112fe
SUCCESS checkout https://github.com/vapor-community/random.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/vapor-community/random.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning 171 / 185]
[Planning deferred tasks]
[43 / 84]
[57 / 102] Bits
[57 / 102] Debugging
[60 / 102] Debugging
[73 / 102] Bits
[77 / 102] Bits
[89 / 114] Core
[91 / 114] Core
[99 / 114] Core
[104 / 122] Random
[107 / 122] Random
[115 / 122] Random
[115 / 122] Bits
[119 / 122] Random
Build complete! (6.43 sec)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git (1.73s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (2.43s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[109/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git (0.91s)
Fetched https://github.com/vapor/debugging.git (0.91s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.61s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.65s)
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
/Users/admin/builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:28:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
26 |     public func makeUInt16() throws -> UInt16 {
27 |         let random = try bytes(count: 2)
28 |         return UnsafeRawPointer(random)
   |                |                |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
29 |             .assumingMemoryBound(to: UInt16.self)
30 |             .pointee
/Users/admin/builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:41:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
39 |     public func makeUInt32() throws -> UInt32 {
40 |         let random = try bytes(count: 4)
41 |         return UnsafeRawPointer(random)
   |                |                |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
42 |             .assumingMemoryBound(to: UInt32.self)
43 |             .pointee
/Users/admin/builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:54:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
52 |     public func makeUInt64() throws -> UInt64 {
53 |         let random = try bytes(count: 8)
54 |         return UnsafeRawPointer(random)
   |                |                |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
55 |             .assumingMemoryBound(to: UInt64.self)
56 |             .pointee
/Users/admin/builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:67:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
65 |     public func makeUInt() throws -> UInt {
66 |         let random = try bytes(count: MemoryLayout<UInt>.size)
67 |         return UnsafeRawPointer(random)
   |                |                |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
68 |             .assumingMemoryBound(to: UInt.self)
69 |             .pointee
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
/Users/admin/builder/spi-builder-workspace/Sources/Random/Array+Random.swift:8:22: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
 6 |
 7 |         let bytes = OSRandom().bytes(count: 8)
 8 |         let random = UnsafeRawPointer(bytes)
   |                      |                |- note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                      |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                      `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
 9 |             .assumingMemoryBound(to: UInt.self)
10 |             .pointee
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    }
  ],
  "manifest_display_name" : "Random",
  "name" : "Random",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Random",
      "targets" : [
        "Random"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RandomTests",
      "module_type" : "SwiftTarget",
      "name" : "RandomTests",
      "path" : "Tests/RandomTests",
      "sources" : [
        "RandomTests.swift"
      ],
      "target_dependencies" : [
        "Random"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Random",
      "module_type" : "SwiftTarget",
      "name" : "Random",
      "path" : "Sources/Random",
      "product_dependencies" : [
        "Core"
      ],
      "product_memberships" : [
        "Random"
      ],
      "sources" : [
        "Array+Random.swift",
        "EmptyInitializable.swift",
        "Exports.swift",
        "OSRandom.swift",
        "RandomProtocol.swift",
        "URandom.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.