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.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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/admin/builds/vMd7uqzK/1/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/vapor-community/random.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/20] Compiling Debugging Debuggable.swift
[2/20] Emitting module Debugging
[3/20] Emitting module libc
[4/20] Compiling libc libc.swift
[5/20] Compiling Bits Byte+PatternMatching.swift
[6/20] Compiling Bits Byte+Random.swift
[7/20] Compiling Bits Byte+UTF8Numbers.swift
[8/20] Compiling Bits ByteSequence+Conversions.swift
[9/20] Compiling Bits Bytes+Base64.swift
[10/24] Emitting module Bits
[11/24] Compiling Bits Operators.swift
[12/24] Compiling Bits String+BytesConvertible.swift
[13/24] Compiling Bits UnsignedInteger+BytesConvertible.swift
[14/24] Compiling Bits UnsignedInteger+Shifting.swift
[15/24] Compiling Bits Aliases.swift
[16/24] Compiling Bits Base64Encoder.swift
[17/24] Compiling Bits Byte+Alphabet.swift
[18/24] Compiling Bits Byte+ControlCharacters.swift
[19/24] Compiling Bits Byte+Convenience.swift
[20/24] Compiling Bits Bytes+Hex.swift
[21/24] Compiling Bits Bytes+Percent.swift
[22/24] Compiling Bits BytesConvertible.swift
[23/24] Compiling Bits Data+BytesConvertible.swift
[24/24] Compiling Bits HexEncoder.swift
[25/43] Emitting module Core
[26/48] Compiling Core Lock.swift
[27/48] Compiling Core Portal.swift
[28/48] Compiling Core RFC1123.swift
[29/48] Compiling Core Result.swift
[30/48] Compiling Core Semaphore.swift
[31/48] Compiling Core Sequence.swift
[32/48] Compiling Core DispatchTime+Utilities.swift
[33/48] Compiling Core EmptyInitializable.swift
[34/48] Compiling Core Exports.swift
[35/48] Compiling Core Extendable.swift
[36/48] Compiling Core FileProtocol.swift
[37/48] Compiling Core Int+Hex.swift
[38/48] Compiling Core Array.swift
[39/48] Compiling Core Bits.swift
[40/48] Compiling Core Cache.swift
[41/48] Compiling Core Collection+Safe.swift
[42/48] Compiling Core DataFile.swift
[43/48] Compiling Core Dispatch.swift
[44/48] Compiling Core StaticDataBuffer.swift
[45/48] Compiling Core String+CaseInsensitiveCompare.swift
[46/48] Compiling Core String+Polymorphic.swift
[47/48] Compiling Core String.swift
[48/48] Compiling Core WorkingDirectory.swift
[49/54] Compiling Random RandomProtocol.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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)
                                ^
[50/54] Compiling Random Exports.swift
[51/54] Compiling Random OSRandom.swift
[52/55] Emitting module Random
[53/55] Compiling Random Array+Random.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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)
                                      ^
[54/55] Compiling Random EmptyInitializable.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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)
                                      ^
[55/55] Compiling Random URandom.swift
Build complete! (11.35s)
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 (0.31s)
Fetched https://github.com/vapor/bits.git (0.31s)
Computing version for https://github.com/vapor/core.git
Fetched https://github.com/vapor/debugging.git (0.31s)
Computed https://github.com/vapor/core.git at 2.1.1 (0.08s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.08s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.08s)
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.0
Build complete.
Done.