Build Information
Failed to build SwiftFake, reference main (27f878
), with Swift 6.2 (beta) for Linux on 1 Sep 2025 22:14:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ziminny/SwiftFake.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 27f8783 add LICENSE file
Cloned https://github.com/ziminny/SwiftFake.git
Revision (git rev-parse @):
27f8783cab69280ec0ab20c90338d7f0517626b9
SUCCESS checkout https://github.com/ziminny/SwiftFake.git at main
========================================
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
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/39] Compiling SwiftFake FakeBrazilianCities.swift
[4/39] Compiling SwiftFake FakeBrazilianCompanies.swift
[5/39] Compiling SwiftFake FakeBrazilianMatterDescritionOfLaw.swift
[6/39] Compiling SwiftFake FakeBrazilianMatterOfLaw.swift
[7/39] Compiling SwiftFake FakeBrazilianNames.swift
[8/39] Emitting module SwiftFake
[9/44] Compiling SwiftFake FakeAcronymsBrazilianStates.swift
[10/44] Compiling SwiftFake FakeAddresses.swift
[11/44] Compiling SwiftFake FakeAges.swift
[12/44] Compiling SwiftFake FakeBigImage.swift
[13/44] Compiling SwiftFake FakeBoolean.swift
[14/44] Compiling SwiftFake FakeBrazilianAnswerOfLaw.swift
[15/44] Compiling SwiftFake FakeLawyerBrazilianAbout.swift
[16/44] Compiling SwiftFake FakeLawyerBrazilianDescriptions.swift
[17/44] Compiling SwiftFake FakeLawyerBrazilianRecentContent.swift
[18/44] Compiling SwiftFake FakeLinks.swift
[19/44] Compiling SwiftFake FakeNames.swift
[20/44] Compiling SwiftFake FakeCars.swift
[21/44] Compiling SwiftFake FakeCompanies.swift
[22/44] Compiling SwiftFake FakeCountries.swift
[23/44] Compiling SwiftFake FakeCreditCards.swift
[24/44] Compiling SwiftFake FakeCurrencies.swift
[25/44] Compiling SwiftFake FakePasswords.swift
[26/44] Compiling SwiftFake FakePhoneNumbers.swift
[27/44] Compiling SwiftFake FakeProductNames.swift
[28/44] Compiling SwiftFake FakeSmallImage.swift
[29/44] Compiling SwiftFake FakeSocialMediaHandles.swift
[30/44] 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() {}
[31/44] 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() {}
[32/44] 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() {}
[33/44] 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() {}
[34/44] Compiling SwiftFake FakeLanguages.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() {}
[35/44] Compiling SwiftFake FakeBrazilianQuestionsOfLaw.swift
[36/44] Compiling SwiftFake FakeBrazilianStates.swift
[37/44] Compiling SwiftFake FakeBrazilianSubMatterOfLaw.swift
[38/44] Compiling SwiftFake FakeCNPJ.swift
[39/44] Compiling SwiftFake FakeCPF.swift
[40/44] Compiling SwiftFake FakeUniversities.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 | }
[41/44] 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 | }
[42/44] 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 | }
[43/44] 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 | }
[44/44] 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 | }
BUILD FAILURE 6.2 linux