The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AtRandom, reference v0.0.3 (e568bd), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 00:33:44 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/robb/AtRandom.git
Reference: v0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/robb/AtRandom
 * tag               v0.0.3     -> FETCH_HEAD
HEAD is now at e568bdb Fix reads of Namespace value occuring in init
Cloned https://github.com/robb/AtRandom.git
Revision (git rev-parse @):
e568bdbad8e8a1e749690a646489c961a84dfbe5
SUCCESS checkout https://github.com/robb/AtRandom.git at v0.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/robb/AtRandom.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] AtRandom
[30 / 97]
[33 / 97]
[41 / 97]
[43 / 97]
[44 / 97]
[49 / 97]
[51 / 97]
[53 / 97]
[56 / 97]
[61 / 97]
[64 / 97]
[66 / 97]
[67 / 97]
[77 / 97]
[79 / 97]
[80 / 97]
[83 / 97]
[85 / 97]
[88 / 97] AtRandom
[94 / 97] AtRandom
Build complete! (10.27 sec)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:121:5: warning: 'public' modifier is redundant for initializer declared in a public extension
119 |     ///   - from: The first value to interpolate between.
120 |     ///   - through: The second value to interpolate between.
121 |     public init(from: Value, through: Value) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
122 |         self.init { rng in
123 |             var copy = from
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:145:5: warning: 'public' modifier is redundant for initializer declared in a public extension
143 |     ///   - from: The first value to interpolate between.
144 |     ///   - through: The second value to interpolate between.
145 |     public init(from: Value, through: Value) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
146 |         self.init { rng in
147 |             var copy = from
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:163:5: warning: 'public' modifier is redundant for initializer declared in a public extension
161 |     ///
162 |     /// - Parameter range: The range from which a value is selected.
163 |     public init(in range: ClosedRange<Value>) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
164 |         self.init { rng in
165 |             range.randomElement(using: &rng) ?? range.lowerBound
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:177:5: warning: 'public' modifier is redundant for initializer declared in a public extension
175 |     ///   - range: The range from which the values are selected.
176 |     ///   - count: The number of values to generate.
177 |     public init(in range: ClosedRange<Value.Element>, count: Int) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
178 |         self.init { rng in
179 |             Value((0 ..< count).map { _ in
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:193:5: warning: 'public' modifier is redundant for initializer declared in a public extension
191 |     ///   - first: The first possible values.
192 |     ///   - remainder: All remaining possible values.
193 |     public init(in first: Value, _ remainder: Value...) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
194 |         var values = remainder
195 |         values.append(first)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:208:5: warning: 'public' modifier is redundant for initializer declared in a public extension
206 |     /// - Parameter values: The collection to chose from. The collection must
207 |     ///                     not be empty.
208 |     public init(in values: any Collection<Value>) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
209 |         precondition(!values.isEmpty)
210 |
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:224:5: warning: 'public' modifier is redundant for initializer declared in a public extension
222 |     ///   - r: The distance between the generated point and the center.
223 |     ///   - center: The center point around which a new point is generated.
224 |     public init(distance r: CGFloat, from center: CGPoint) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
225 |         self.init(distance: r ... r, from: center)
226 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:236:5: warning: 'public' modifier is redundant for initializer declared in a public extension
234 |     ///        chosen, relative to the center..
235 |     ///   - center: The center point around which a new point is generated.
236 |     public init(distance d: ClosedRange<CGFloat>, from center: CGPoint) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
237 |         self.init { rng in
238 |             let theta = CGFloat.random(in: 0 ... 2 * .pi, using: &rng)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:254:5: warning: 'public' modifier is redundant for initializer declared in a public extension
252 |     /// - Parameter rect: The rectangle from which the generated point is
253 |     ///                   chosen.
254 |     public init(in rect: CGRect) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
255 |         self.init { rng in
256 |             CGPoint(
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:281:5: warning: 'public' modifier is redundant for initializer declared in a public extension
279 |     /// - Parameters:
280 |     ///   - r: The distance between of the generated offset.
281 |     public init(distance r: CGFloat) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
282 |         self.init(distance: r ... r)
283 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:301:5: warning: 'public' modifier is redundant for initializer declared in a public extension
299 |     /// - Parameters:
300 |     /// - Parameter d: The range from the distance is chosen.
301 |     public init(distance d: ClosedRange<CGFloat>) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
302 |         self.init { rng in
303 |             let theta = CGFloat.random(in: 0 ... 2 * .pi, using: &rng)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:325:5: warning: 'public' modifier is redundant for initializer declared in a public extension
323 |     ///   - colorSpace: The color space in which to interpolate, default is
324 |     ///                 `.perceptual`.
325 |     public init(from a: Color, through b: Color, in colorSpace: Gradient.ColorSpace = .perceptual) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
326 |         self.generator = { rng in
327 |             a.mix(with: b, by: .random(in: 0 ... 1, using: &rng), in: colorSpace)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:121:5: warning: 'public' modifier is redundant for initializer declared in a public extension
119 |     ///   - from: The first value to interpolate between.
120 |     ///   - through: The second value to interpolate between.
121 |     public init(from: Value, through: Value) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
122 |         self.init { rng in
123 |             var copy = from
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:145:5: warning: 'public' modifier is redundant for initializer declared in a public extension
143 |     ///   - from: The first value to interpolate between.
144 |     ///   - through: The second value to interpolate between.
145 |     public init(from: Value, through: Value) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
146 |         self.init { rng in
147 |             var copy = from
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:163:5: warning: 'public' modifier is redundant for initializer declared in a public extension
161 |     ///
162 |     /// - Parameter range: The range from which a value is selected.
163 |     public init(in range: ClosedRange<Value>) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
164 |         self.init { rng in
165 |             range.randomElement(using: &rng) ?? range.lowerBound
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:177:5: warning: 'public' modifier is redundant for initializer declared in a public extension
175 |     ///   - range: The range from which the values are selected.
176 |     ///   - count: The number of values to generate.
177 |     public init(in range: ClosedRange<Value.Element>, count: Int) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
178 |         self.init { rng in
179 |             Value((0 ..< count).map { _ in
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:193:5: warning: 'public' modifier is redundant for initializer declared in a public extension
191 |     ///   - first: The first possible values.
192 |     ///   - remainder: All remaining possible values.
193 |     public init(in first: Value, _ remainder: Value...) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
194 |         var values = remainder
195 |         values.append(first)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:208:5: warning: 'public' modifier is redundant for initializer declared in a public extension
206 |     /// - Parameter values: The collection to chose from. The collection must
207 |     ///                     not be empty.
208 |     public init(in values: any Collection<Value>) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
209 |         precondition(!values.isEmpty)
210 |
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:224:5: warning: 'public' modifier is redundant for initializer declared in a public extension
222 |     ///   - r: The distance between the generated point and the center.
223 |     ///   - center: The center point around which a new point is generated.
224 |     public init(distance r: CGFloat, from center: CGPoint) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
225 |         self.init(distance: r ... r, from: center)
226 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:236:5: warning: 'public' modifier is redundant for initializer declared in a public extension
234 |     ///        chosen, relative to the center..
235 |     ///   - center: The center point around which a new point is generated.
236 |     public init(distance d: ClosedRange<CGFloat>, from center: CGPoint) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
237 |         self.init { rng in
238 |             let theta = CGFloat.random(in: 0 ... 2 * .pi, using: &rng)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:254:5: warning: 'public' modifier is redundant for initializer declared in a public extension
252 |     /// - Parameter rect: The rectangle from which the generated point is
253 |     ///                   chosen.
254 |     public init(in rect: CGRect) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
255 |         self.init { rng in
256 |             CGPoint(
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:281:5: warning: 'public' modifier is redundant for initializer declared in a public extension
279 |     /// - Parameters:
280 |     ///   - r: The distance between of the generated offset.
281 |     public init(distance r: CGFloat) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
282 |         self.init(distance: r ... r)
283 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:301:5: warning: 'public' modifier is redundant for initializer declared in a public extension
299 |     /// - Parameters:
300 |     /// - Parameter d: The range from the distance is chosen.
301 |     public init(distance d: ClosedRange<CGFloat>) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
302 |         self.init { rng in
303 |             let theta = CGFloat.random(in: 0 ... 2 * .pi, using: &rng)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:325:5: warning: 'public' modifier is redundant for initializer declared in a public extension
323 |     ///   - colorSpace: The color space in which to interpolate, default is
324 |     ///                 `.perceptual`.
325 |     public init(from a: Color, through b: Color, in colorSpace: Gradient.ColorSpace = .perceptual) {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
326 |         self.generator = { rng in
327 |             a.mix(with: b, by: .random(in: 0 ... 1, using: &rng), in: colorSpace)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:63:32: warning: expression of type 'Int' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 61 |
 62 |         switch source {
 63 |         case .fixed(let seed): seed
    |                                `- warning: expression of type 'Int' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 64 |             let seq = UInt64(bitPattern: Int64(seed))
 65 |             rng = PCGRandomNumberGenerator(seed: 0x2288, seq: seq)
/Users/admin/builder/spi-builder-workspace/Sources/AtRandom/AtRandom.swift:66:36: warning: expression of type 'Int' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 64 |             let seq = UInt64(bitPattern: Int64(seed))
 65 |             rng = PCGRandomNumberGenerator(seed: 0x2288, seq: seq)
 66 |         case .namespace: namespace.hashValue
    |                                    `- warning: expression of type 'Int' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 67 |             let seed = UInt64(bitPattern: Int64(namespace.hashValue))
 68 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AtRandom",
  "name" : "AtRandom",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AtRandom",
      "targets" : [
        "AtRandom"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AtRandom",
      "module_type" : "SwiftTarget",
      "name" : "AtRandom",
      "path" : "Sources/AtRandom",
      "product_memberships" : [
        "AtRandom"
      ],
      "sources" : [
        "AtRandom.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.