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 Random with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/random.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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
Fetching https://github.com/vapor/core.git from cache
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetched https://github.com/vapor/core.git (1.23s)
Fetched https://github.com/vapor/debugging.git (1.23s)
Computing version for https://github.com/vapor/core.git
Fetched https://github.com/vapor/bits.git (1.23s)
Computed https://github.com/vapor/core.git at 2.1.1 (0.45s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.66s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.62s)
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "random",
      "name": "Random",
      "url": "https://github.com/vapor-community/random.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/random",
      "dependencies": [
        {
          "identity": "core",
          "name": "Core",
          "url": "https://github.com/vapor/core.git",
          "version": "2.2.1",
          "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
          "dependencies": [
            {
              "identity": "bits",
              "name": "Bits",
              "url": "https://github.com/vapor/bits.git",
              "version": "1.1.1",
              "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
              "dependencies": [
              ]
            },
            {
              "identity": "debugging",
              "name": "Debugging",
              "url": "https://github.com/vapor/debugging.git",
              "version": "1.1.1",
              "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vapor-community/random.git from cache
Fetched https://github.com/vapor-community/random.git (0.21s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/core.git (0.22s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.53s)
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetched https://github.com/vapor/debugging.git (0.22s)
Fetched https://github.com/vapor/bits.git (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.05s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.04s)
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/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/random.git
Working copy of https://github.com/vapor-community/random.git resolved at master
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'random' is not used by any target
Found 1 product dependencies
  - Core
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/vapor-community/random.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/22] Compiling Debugging Debuggable.swift
[2/22] Emitting module Debugging
[3/22] Compiling libc libc.swift
[4/22] Emitting module libc
[5/22] Compiling Bits Byte+ControlCharacters.swift
[6/22] Compiling Bits Byte+Convenience.swift
[7/22] Compiling Bits Byte+PatternMatching.swift
[8/24] Compiling Bits Aliases.swift
[9/24] Compiling Bits Base64Encoder.swift
[10/24] Compiling Bits Byte+Alphabet.swift
[11/24] Compiling Bits UnsignedInteger+BytesConvertible.swift
[12/24] Compiling Bits UnsignedInteger+Shifting.swift
[13/24] Emitting module Bits
[14/24] Compiling Bits Operators.swift
[15/24] Compiling Bits String+BytesConvertible.swift
[16/24] Compiling Bits Bytes+Percent.swift
[17/24] Compiling Bits BytesConvertible.swift
[18/24] Compiling Bits Bytes+Base64.swift
[19/24] Compiling Bits Bytes+Hex.swift
[20/24] Compiling Bits Byte+Random.swift
[21/24] Compiling Bits Byte+UTF8Numbers.swift
[22/24] Compiling Bits ByteSequence+Conversions.swift
[23/24] Compiling Bits Data+BytesConvertible.swift
[24/24] Compiling Bits HexEncoder.swift
[25/46] Compiling Core DispatchTime+Utilities.swift
[26/46] Compiling Core EmptyInitializable.swift
[27/46] Compiling Core Exports.swift
[28/48] Compiling Core Extendable.swift
[29/48] Compiling Core FileProtocol.swift
[30/48] Compiling Core Int+Hex.swift
[31/48] Compiling Core Result.swift
[32/48] Compiling Core Semaphore.swift
[33/48] Compiling Core Sequence.swift
[34/48] Compiling Core Lock.swift
[35/48] Compiling Core Portal.swift
[36/48] Compiling Core RFC1123.swift
[37/48] Compiling Core StaticDataBuffer.swift
[38/48] Compiling Core String+CaseInsensitiveCompare.swift
[39/48] Compiling Core String+Polymorphic.swift
[40/48] Compiling Core Array.swift
[41/48] Compiling Core Bits.swift
[42/48] Compiling Core Cache.swift
[43/48] Compiling Core Collection+Safe.swift
[44/48] Compiling Core DataFile.swift
[45/48] Compiling Core Dispatch.swift
[46/48] Emitting module Core
[47/48] Compiling Core String.swift
[48/48] Compiling Core WorkingDirectory.swift
[49/55] Compiling Random OSRandom.swift
[50/55] Compiling Random EmptyInitializable.swift
[51/55] Compiling Random Exports.swift
[52/55] Compiling Random Array+Random.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/Array+Random.swift:8:22: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        let random = UnsafeRawPointer(bytes)
                     ^~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/Array+Random.swift:8:39: note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        let random = UnsafeRawPointer(bytes)
                                      ^~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/Array+Random.swift:8:39: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        let random = UnsafeRawPointer(bytes)
                                      ^
[53/55] Compiling Random URandom.swift
[54/55] Compiling Random RandomProtocol.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:28:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:28:33: note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        return UnsafeRawPointer(random)
                                ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:28:33: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return UnsafeRawPointer(random)
                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:41:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:41:33: note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        return UnsafeRawPointer(random)
                                ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:41:33: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return UnsafeRawPointer(random)
                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:54:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:54:33: note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        return UnsafeRawPointer(random)
                                ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:54:33: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return UnsafeRawPointer(random)
                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:67:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:67:33: note: implicit argument conversion from 'Bytes' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        return UnsafeRawPointer(random)
                                ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Random/RandomProtocol.swift:67:33: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return UnsafeRawPointer(random)
                                ^
[55/55] Emitting module Random
Build complete! (4.30s)
Build complete.
Done.