The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftFake, reference 1.0.0 (512d53), with Swift 6.2 (beta) for Linux on 12 Aug 2025 20:17:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ziminny/SwiftFake.git
Reference: 1.0.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/ziminny/SwiftFake
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 512d534 update package name
Cloned https://github.com/ziminny/SwiftFake.git
Revision (git rev-parse @):
512d534f2aed07833b94cc5c9da6178881d20131
SUCCESS checkout https://github.com/ziminny/SwiftFake.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ziminny/SwiftFake.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/35] Compiling SwiftFake FakeProductNames.swift
[4/35] Compiling SwiftFake FakeSmallImage.swift
[5/35] Compiling SwiftFake FakeSocialMediaHandles.swift
[6/35] Compiling SwiftFake FakeUniversities.swift
[7/39] Compiling SwiftFake FakeLanguages.swift
[8/39] Compiling SwiftFake FakeNames.swift
[9/39] Compiling SwiftFake FakePasswords.swift
[10/39] Compiling SwiftFake FakePhoneNumbers.swift
[11/39] Compiling SwiftFake FakeCars.swift
[12/39] Compiling SwiftFake FakeCompanies.swift
[13/39] Compiling SwiftFake FakeCountries.swift
[14/39] Compiling SwiftFake FakeCreditCards.swift
[15/39] Compiling SwiftFake FakeCurrencies.swift
[16/39] Compiling SwiftFake FakeBrazilianAnswerOfLaw.swift
[17/39] Compiling SwiftFake FakeBrazilianCities.swift
[18/39] Compiling SwiftFake FakeBrazilianCompanies.swift
[19/39] Compiling SwiftFake FakeBrazilianMatterOfLaw.swift
[20/39] Compiling SwiftFake FakeBrazilianNames.swift
[21/39] Emitting module SwiftFake
[22/39] Compiling SwiftFake FakeAcronymsBrazilianStates.swift
[23/39] Compiling SwiftFake FakeAddresses.swift
[24/39] Compiling SwiftFake FakeAges.swift
[25/39] Compiling SwiftFake FakeBigImage.swift
[26/39] Compiling SwiftFake FakeBoolean.swift
[27/39] Compiling SwiftFake FakeBrazilianQuestionsOfLaw.swift
[28/39] Compiling SwiftFake FakeBrazilianStates.swift
[29/39] Compiling SwiftFake FakeBrazilianSubMatterOfLaw.swift
[30/39] Compiling SwiftFake FakeCNPJ.swift
[31/39] Compiling SwiftFake FakeCPF.swift
[32/39] Compiling SwiftFake FakeUserAgents.swift
/host/spi-builder-workspace/Sources/SwiftFake/FakeRecords.swift:30:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
28 |     public func getRandomValues<T: FalsifiedDataProtocol>(ofType type: T.Type, count: Int = 10) -> [T.Value] {
29 |         var instances: [T.Value] = []
30 |         for i in 0..<count {
   |             `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
31 |             instances.append(type.init().value)
32 |         }
[33/39] Compiling SwiftFake FakeVehicleModels.swift
/host/spi-builder-workspace/Sources/SwiftFake/FakeRecords.swift:30:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
28 |     public func getRandomValues<T: FalsifiedDataProtocol>(ofType type: T.Type, count: Int = 10) -> [T.Value] {
29 |         var instances: [T.Value] = []
30 |         for i in 0..<count {
   |             `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
31 |             instances.append(type.init().value)
32 |         }
[34/39] Compiling SwiftFake FakeRecords.swift
/host/spi-builder-workspace/Sources/SwiftFake/FakeRecords.swift:30:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
28 |     public func getRandomValues<T: FalsifiedDataProtocol>(ofType type: T.Type, count: Int = 10) -> [T.Value] {
29 |         var instances: [T.Value] = []
30 |         for i in 0..<count {
   |             `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
31 |             instances.append(type.init().value)
32 |         }
[35/39] Compiling SwiftFake FalsifiedDataProtocol .swift
/host/spi-builder-workspace/Sources/SwiftFake/FakeRecords.swift:30:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
28 |     public func getRandomValues<T: FalsifiedDataProtocol>(ofType type: T.Type, count: Int = 10) -> [T.Value] {
29 |         var instances: [T.Value] = []
30 |         for i in 0..<count {
   |             `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
31 |             instances.append(type.init().value)
32 |         }
[36/39] Compiling SwiftFake FakeDateTimes.swift
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:14:36: error: cannot find 'arc4random_uniform' in scope
12 |     public typealias Value = Int16
13 |
14 |     public var value:Value { Int16(arc4random_uniform(UInt32(Int16.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
15 |
16 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:23:36: error: cannot find 'arc4random_uniform' in scope
21 |     public typealias Value = Int32
22 |
23 |     public var value:Value { Int32(arc4random_uniform(UInt32(Int32.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
24 |
25 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:32:36: error: cannot find 'arc4random_uniform' in scope
30 |     public typealias Value = Int64
31 |
32 |     public var value:Value { Int64(arc4random_uniform(UInt32(Int64.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
33 |
34 |     required public init() {}
[37/39] Compiling SwiftFake FakeEmails.swift
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:14:36: error: cannot find 'arc4random_uniform' in scope
12 |     public typealias Value = Int16
13 |
14 |     public var value:Value { Int16(arc4random_uniform(UInt32(Int16.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
15 |
16 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:23:36: error: cannot find 'arc4random_uniform' in scope
21 |     public typealias Value = Int32
22 |
23 |     public var value:Value { Int32(arc4random_uniform(UInt32(Int32.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
24 |
25 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:32:36: error: cannot find 'arc4random_uniform' in scope
30 |     public typealias Value = Int64
31 |
32 |     public var value:Value { Int64(arc4random_uniform(UInt32(Int64.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
33 |
34 |     required public init() {}
[38/39] Compiling SwiftFake FakeIntegers.swift
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:14:36: error: cannot find 'arc4random_uniform' in scope
12 |     public typealias Value = Int16
13 |
14 |     public var value:Value { Int16(arc4random_uniform(UInt32(Int16.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
15 |
16 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:23:36: error: cannot find 'arc4random_uniform' in scope
21 |     public typealias Value = Int32
22 |
23 |     public var value:Value { Int32(arc4random_uniform(UInt32(Int32.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
24 |
25 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:32:36: error: cannot find 'arc4random_uniform' in scope
30 |     public typealias Value = Int64
31 |
32 |     public var value:Value { Int64(arc4random_uniform(UInt32(Int64.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
33 |
34 |     required public init() {}
[39/39] Compiling SwiftFake FakeJobTitles.swift
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:14:36: error: cannot find 'arc4random_uniform' in scope
12 |     public typealias Value = Int16
13 |
14 |     public var value:Value { Int16(arc4random_uniform(UInt32(Int16.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
15 |
16 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:23:36: error: cannot find 'arc4random_uniform' in scope
21 |     public typealias Value = Int32
22 |
23 |     public var value:Value { Int32(arc4random_uniform(UInt32(Int32.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
24 |
25 |     required public init() {}
/host/spi-builder-workspace/Sources/SwiftFake/Cases/FakeIntegers.swift:32:36: error: cannot find 'arc4random_uniform' in scope
30 |     public typealias Value = Int64
31 |
32 |     public var value:Value { Int64(arc4random_uniform(UInt32(Int64.max) + 1)) }
   |                                    `- error: cannot find 'arc4random_uniform' in scope
33 |
34 |     required public init() {}
BUILD FAILURE 6.2 linux