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

Build Command

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

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 /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.10
Building package at path:  $workDir
https://github.com/vapor-community/random.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/core.git
[1/358] Fetching bits
[134/618] Fetching bits, debugging
[531/20761] Fetching bits, debugging, core
Fetched https://github.com/vapor/debugging.git from cache (0.76s)
Fetched https://github.com/vapor/bits.git from cache (0.76s)
Fetched https://github.com/vapor/core.git from cache (0.77s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.1.1 (0.43s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.44s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.43s)
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
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/28] Emitting module Bits
[8/30] Compiling Bits UnsignedInteger+BytesConvertible.swift
[9/30] Compiling Bits UnsignedInteger+Shifting.swift
[10/30] Emitting module Debugging
[11/30] Compiling Debugging Debuggable.swift
[12/31] Compiling Bits Aliases.swift
[13/31] Compiling Bits Base64Encoder.swift
[14/31] Compiling Bits Byte+Alphabet.swift
[16/31] Compiling Bits Byte+ControlCharacters.swift
[17/31] Compiling Bits Byte+Convenience.swift
[18/31] Compiling Bits Byte+PatternMatching.swift
[19/31] Compiling Bits Operators.swift
[20/31] Compiling Bits String+BytesConvertible.swift
[21/31] Compiling Bits Bytes+Percent.swift
[22/31] Compiling Bits BytesConvertible.swift
[23/31] Emitting module libc
[24/31] Compiling libc libc.swift
[26/32] Compiling Bits Data+BytesConvertible.swift
[27/32] Compiling Bits HexEncoder.swift
[28/32] Compiling Bits Byte+Random.swift
[29/32] Compiling Bits Byte+UTF8Numbers.swift
[30/32] Compiling Bits ByteSequence+Conversions.swift
[31/32] Compiling Bits Bytes+Base64.swift
[32/32] Compiling Bits Bytes+Hex.swift
[34/55] Emitting module Core
[35/57] Compiling Core Lock.swift
[36/57] Compiling Core Portal.swift
[37/57] Compiling Core RFC1123.swift
[38/57] Compiling Core Array.swift
[39/57] Compiling Core Bits.swift
[40/57] Compiling Core Cache.swift
[41/57] Compiling Core String.swift
[42/57] Compiling Core WorkingDirectory.swift
[43/57] Compiling Core Extendable.swift
[44/57] Compiling Core FileProtocol.swift
[45/57] Compiling Core Int+Hex.swift
[46/57] Compiling Core Collection+Safe.swift
[47/57] Compiling Core DataFile.swift
[48/57] Compiling Core Dispatch.swift
[49/57] Compiling Core DispatchTime+Utilities.swift
[50/57] Compiling Core EmptyInitializable.swift
[51/57] Compiling Core Exports.swift
[52/57] Compiling Core Result.swift
[53/57] Compiling Core Semaphore.swift
[54/57] Compiling Core Sequence.swift
[55/57] Compiling Core StaticDataBuffer.swift
[56/57] Compiling Core String+CaseInsensitiveCompare.swift
[57/57] Compiling Core String+Polymorphic.swift
[59/65] Compiling Random Exports.swift
[60/65] Compiling Random EmptyInitializable.swift
[61/65] Emitting module Random
[62/65] 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)
                                      ^
[63/65] Compiling Random URandom.swift
[64/65] 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)
                                ^
[65/65] Compiling Random OSRandom.swift
Build complete! (12.22s)
Build complete.
Done.