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: master
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
 * 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:         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/core.git
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[3/260] Fetching debugging
[189/20403] Fetching debugging, core
[592/20761] Fetching debugging, core, bits
Fetched https://github.com/vapor/bits.git (0.31s)
[4217/20403] Fetching debugging, core
Fetched https://github.com/vapor/debugging.git (0.77s)
Fetched https://github.com/vapor/core.git (0.79s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.1.1 (0.34s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.41s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.33s)
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
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
[8/26] Compiling Bits Byte+ControlCharacters.swift
[9/26] Compiling Bits Byte+Convenience.swift
[10/26] Compiling Bits Byte+PatternMatching.swift
[11/26] Compiling Bits Aliases.swift
[12/26] Compiling Bits Base64Encoder.swift
[13/26] Compiling Bits Byte+Alphabet.swift
[14/26] Compiling Bits Operators.swift
[15/26] Compiling Bits String+BytesConvertible.swift
[16/26] Emitting module libc
[17/26] Compiling libc libc.swift
[18/27] Compiling Bits Bytes+Percent.swift
[19/27] Compiling Bits BytesConvertible.swift
[20/27] Compiling Bits Bytes+Base64.swift
[21/27] Compiling Bits Bytes+Hex.swift
[22/27] Compiling Bits Data+BytesConvertible.swift
[23/27] Compiling Bits HexEncoder.swift
[26/28] Compiling Bits Byte+Random.swift
[27/28] Compiling Bits Byte+UTF8Numbers.swift
[28/28] Compiling Bits ByteSequence+Conversions.swift
[31/52] Compiling Core Result.swift
[32/52] Compiling Core Semaphore.swift
[33/52] Compiling Core Sequence.swift
[34/52] Compiling Core Extendable.swift
[35/52] Compiling Core FileProtocol.swift
[36/52] Compiling Core Int+Hex.swift
[37/54] Emitting module Core
[38/54] Compiling Core Lock.swift
[39/54] Compiling Core Portal.swift
[40/54] Compiling Core RFC1123.swift
[41/54] Compiling Core Collection+Safe.swift
[42/54] Compiling Core DataFile.swift
[43/54] Compiling Core Dispatch.swift
[44/54] Compiling Core String.swift
[45/54] Compiling Core WorkingDirectory.swift
[46/54] Compiling Core Array.swift
[47/54] Compiling Core Bits.swift
[48/54] Compiling Core Cache.swift
[49/54] Compiling Core DispatchTime+Utilities.swift
[50/54] Compiling Core EmptyInitializable.swift
[51/54] Compiling Core Exports.swift
[52/54] Compiling Core StaticDataBuffer.swift
[53/54] Compiling Core String+CaseInsensitiveCompare.swift
[54/54] Compiling Core String+Polymorphic.swift
[57/63] Compiling Random URandom.swift
[58/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)
                                ^
[59/63] Emitting module Random
[60/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)
                                      ^
[61/63] Compiling Random EmptyInitializable.swift
[62/63] Compiling Random OSRandom.swift
[63/63] Compiling Random Exports.swift
Build complete! (8.37s)
Build complete.
Done.