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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/random.git
Reference: 1.2.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/random
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at d7c4397 Merge pull request #13 from vapor/swift4
Cloned https://github.com/vapor-community/random.git
Revision (git rev-parse @):
d7c4397d125caba795d14d956efacfe2a27a63d0
SUCCESS checkout https://github.com/vapor-community/random.git at 1.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vapor-community/random.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version--423B1241ED78D482.txt
[7/28] Compiling Debugging Debuggable.swift
[8/28] Emitting module Debugging
[9/28] Compiling libc libc.swift
[10/28] Emitting module libc
[11/28] Compiling Bits Byte+ControlCharacters.swift
[12/28] Compiling Bits Byte+Convenience.swift
[13/28] Compiling Bits Byte+PatternMatching.swift
[14/30] Compiling Bits UnsignedInteger+BytesConvertible.swift
[15/30] Compiling Bits UnsignedInteger+Shifting.swift
[16/30] Compiling Bits Operators.swift
[17/30] Compiling Bits String+BytesConvertible.swift
[18/30] Emitting module Bits
[19/30] Compiling Bits Bytes+Percent.swift
[20/30] Compiling Bits BytesConvertible.swift
[21/30] Compiling Bits Bytes+Base64.swift
[22/30] Compiling Bits Bytes+Hex.swift
[23/30] Compiling Bits Data+BytesConvertible.swift
[24/30] Compiling Bits HexEncoder.swift
[25/30] Compiling Bits Aliases.swift
[26/30] Compiling Bits Base64Encoder.swift
[27/30] Compiling Bits Byte+Alphabet.swift
[28/30] Compiling Bits Byte+Random.swift
[29/30] Compiling Bits Byte+UTF8Numbers.swift
[30/30] Compiling Bits ByteSequence+Conversions.swift
[31/52] Compiling Core Extendable.swift
[32/52] Compiling Core FileProtocol.swift
[33/52] Compiling Core Int+Hex.swift
[34/54] Compiling Core Result.swift
[35/54] Compiling Core Semaphore.swift
[36/54] Compiling Core Sequence.swift
[37/54] Compiling Core Collection+Safe.swift
[38/54] Compiling Core DataFile.swift
[39/54] Compiling Core Dispatch.swift
[40/54] Compiling Core Lock.swift
[41/54] Compiling Core Portal.swift
[42/54] Compiling Core RFC1123.swift
[43/54] Emitting module Core
[44/54] Compiling Core Array.swift
[45/54] Compiling Core Bits.swift
[46/54] Compiling Core Cache.swift
[47/54] Compiling Core DispatchTime+Utilities.swift
[48/54] Compiling Core EmptyInitializable.swift
[49/54] Compiling Core Exports.swift
[50/54] Compiling Core StaticDataBuffer.swift
[51/54] Compiling Core String+CaseInsensitiveCompare.swift
[52/54] Compiling Core String+Polymorphic.swift
[53/54] Compiling Core String.swift
[54/54] Compiling Core WorkingDirectory.swift
[55/61] Compiling Random EmptyInitializable.swift
[56/61] Compiling Random URandom.swift
[57/61] Compiling Random OSRandom.swift
[58/61] Compiling Random Array+Random.swift
/Users/builder/builds/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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)
                                      ^
[59/61] Compiling Random RandomProtocol.swift
/Users/builder/builds/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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/UKfvDsi8u/2/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)
                                ^
[60/61] Compiling Random Exports.swift
[61/61] Emitting module Random
Build complete! (6.94s)
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/bits.git from cache (0.25s)
Fetched https://github.com/vapor/core.git from cache (0.25s)
Computing version for https://github.com/vapor/core.git
Fetched https://github.com/vapor/debugging.git from cache (0.25s)
Computed https://github.com/vapor/core.git at 2.1.1 (1.28s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.09s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.09s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.0
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
Build complete.
Done.