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 Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/random.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/vapor-community/random.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[189/618] Fetching debugging, bits
[301/20761] Fetching debugging, bits, core
Fetched https://github.com/vapor/bits.git (0.99s)
Fetched https://github.com/vapor/debugging.git (0.99s)
Fetched https://github.com/vapor/core.git (1.01s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.1.1 (0.36s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.35s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.40s)
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/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
Building for debugging...
[1/22] Emitting module Bits
[2/24] Compiling Bits UnsignedInteger+BytesConvertible.swift
[3/24] Compiling Bits UnsignedInteger+Shifting.swift
[4/24] Emitting module Debugging
[5/24] Compiling Debugging Debuggable.swift
[6/25] Compiling Bits Aliases.swift
[7/25] Compiling Bits Base64Encoder.swift
[8/25] Compiling Bits Byte+Alphabet.swift
[11/26] Compiling Bits Operators.swift
[12/26] Compiling Bits String+BytesConvertible.swift
[13/26] Emitting module libc
[14/26] Compiling libc libc.swift
[15/27] Compiling Bits Data+BytesConvertible.swift
[16/27] Compiling Bits HexEncoder.swift
[17/27] Compiling Bits Bytes+Base64.swift
[18/27] Compiling Bits Bytes+Hex.swift
[19/27] Compiling Bits Byte+Random.swift
[20/27] Compiling Bits Byte+UTF8Numbers.swift
[21/27] Compiling Bits ByteSequence+Conversions.swift
[22/27] Compiling Bits Byte+ControlCharacters.swift
[23/27] Compiling Bits Byte+Convenience.swift
[24/27] Compiling Bits Byte+PatternMatching.swift
[25/27] Compiling Bits Bytes+Percent.swift
[26/27] Compiling Bits BytesConvertible.swift
[31/52] Emitting module Core
[32/54] Compiling Core Extendable.swift
[33/54] Compiling Core FileProtocol.swift
[34/54] Compiling Core Int+Hex.swift
[35/54] Compiling Core Collection+Safe.swift
[36/54] Compiling Core DataFile.swift
[37/54] Compiling Core Dispatch.swift
[38/54] Compiling Core Array.swift
[39/54] Compiling Core Bits.swift
[40/54] Compiling Core Cache.swift
[41/54] Compiling Core DispatchTime+Utilities.swift
[42/54] Compiling Core EmptyInitializable.swift
[43/54] Compiling Core Exports.swift
[44/54] Compiling Core Lock.swift
[45/54] Compiling Core Portal.swift
[46/54] Compiling Core RFC1123.swift
[47/54] Compiling Core Result.swift
[48/54] Compiling Core Semaphore.swift
[49/54] Compiling Core Sequence.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
[57/63] Compiling Random Array+Random.swift
/host/spi-builder-workspace/Sources/Random/Array+Random.swift:8:22: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        let random = UnsafeRawPointer(bytes)
                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/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)
                                      ^~~~~
/host/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)
                                      ^
[58/63] Emitting module Random
[59/63] Compiling Random Exports.swift
[60/63] Compiling Random EmptyInitializable.swift
[61/63] Compiling Random OSRandom.swift
[62/63] Compiling Random RandomProtocol.swift
/host/spi-builder-workspace/Sources/Random/RandomProtocol.swift:28:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/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)
                                ^~~~~~
/host/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)
                                ^
/host/spi-builder-workspace/Sources/Random/RandomProtocol.swift:41:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/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)
                                ^~~~~~
/host/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)
                                ^
/host/spi-builder-workspace/Sources/Random/RandomProtocol.swift:54:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/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)
                                ^~~~~~
/host/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)
                                ^
/host/spi-builder-workspace/Sources/Random/RandomProtocol.swift:67:16: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer
        return UnsafeRawPointer(random)
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/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)
                                ^~~~~~
/host/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)
                                ^
[63/63] Compiling Random URandom.swift
Build complete! (8.44s)
Build complete.
Done.