Build Information
Successful build of DiscreteMathematics, reference 2.0.0 (a0ac74), with Swift 6.4 for Linux on 17 Sep 2026 06:56:58 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cszatmary/DiscreteMathematics.git
Reference: 2.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/cszatmary/DiscreteMathematics
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at a0ac74e Merge pull request #1 from cszatma/swift-5
Cloned https://github.com/cszatmary/DiscreteMathematics.git
Revision (git rev-parse @):
a0ac74e242c1b97a5deab9e967afc56830a63651
SUCCESS checkout https://github.com/cszatmary/DiscreteMathematics.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/cszatmary/DiscreteMathematics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/orta/Komondor.git
[1/509] Fetching komondor
[510/15434] Fetching komondor, quick
[5436/35420] Fetching komondor, quick, nimble
Fetched https://github.com/Quick/Quick.git (0.89s)
[1109/20495] Fetching komondor, nimble
Fetched https://github.com/orta/Komondor.git (1.41s)
Fetched https://github.com/Quick/Nimble.git (1.42s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (1.62s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (1.04s)
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[581/1966] Fetching packageconfig, rocket
Fetched https://github.com/f-meloni/Rocket (0.53s)
[1/58830] Fetching swiftformat
[3531/59810] Fetching swiftformat, shellout
[6276/225530] Fetching swiftformat, shellout, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git (16.37s)
Fetched https://github.com/shibapm/PackageConfig.git (24.07s)
Fetched https://github.com/JohnSundell/ShellOut.git (24.07s)
Fetched https://github.com/Realm/SwiftLint.git (24.55s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (24.74s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[117/5007] Fetching logger, swiftshell
Fetched https://github.com/shibapm/Logger (0.43s)
[490/4891] Fetching swiftshell
[4892/16752] Fetching swiftshell, yams
Fetched https://github.com/kareman/SwiftShell (1.04s)
Fetched https://github.com/jpsim/Yams (1.05s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.1 (1.25s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.18s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.18s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.18s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.18s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.19s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (0.22s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/101] Fetching collectionconcurrencykit
[102/1030] Fetching collectionconcurrencykit, swiftytexttable
[1031/14469] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift
[2913/33352] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, swift-argument-parser
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git (0.76s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (0.76s)
Fetched https://github.com/apple/swift-argument-parser.git (0.77s)
[3629/13439] Fetching cryptoswift
[13440/29771] Fetching cryptoswift, sourcekitten
[25200/109696] Fetching cryptoswift, sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git (1.47s)
[35818/93364] Fetching cryptoswift, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.47s)
[23179/79925] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.05s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (3.26s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.05s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.31s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.20s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.20s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2876] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (0.49s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.19s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.63.0 (0.19s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.0
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.1
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.63.0
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.59.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Building for debugging...
[Pre-planning 1 / 66]
[19 / 27] DiscreteMathematics
[24 / 32] DiscreteMathematics
[29 / 32] DiscreteMathematics
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:48:34: [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m46 |[0;0m
[0;36m47 |[0;0m public func encrypt(string: String, e: Int, pq: Int) -> String {
[0;36m48 |[0;0m return encrypt(array: string.flatMap { alphabetNumbers[String($0)] }, e: e, pq: pq)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'compactMap(_:)' instead[0;0m
[0;36m49 |[0;0m .flatMap { alphabetValues[$0] }.joined()
[0;36m50 |[0;0m }
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:49:10: [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m47 |[0;0m public func encrypt(string: String, e: Int, pq: Int) -> String {
[0;36m48 |[0;0m return encrypt(array: string.flatMap { alphabetNumbers[String($0)] }, e: e, pq: pq)
[0;36m49 |[0;0m .flatMap { alphabetValues[$0] }.joined()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'compactMap(_:)' instead[0;0m
[0;36m50 |[0;0m }
[0;36m51 |[0;0m
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:57:34: [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m55 |[0;0m
[0;36m56 |[0;0m public func decrypt(string: String, d: Int, pq: Int) -> String {
[0;36m57 |[0;0m return decrypt(array: string.flatMap { alphabetNumbers[String($0)] }, d: d, pq: pq)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'compactMap(_:)' instead[0;0m
[0;36m58 |[0;0m .flatMap { alphabetValues[$0] }.joined()
[0;36m59 |[0;0m }
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:58:10: [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m56 |[0;0m public func decrypt(string: String, d: Int, pq: Int) -> String {
[0;36m57 |[0;0m return decrypt(array: string.flatMap { alphabetNumbers[String($0)] }, d: d, pq: pq)
[0;36m58 |[0;0m .flatMap { alphabetValues[$0] }.joined()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'compactMap(_:)' instead[0;0m
[0;36m59 |[0;0m }
[0;36m60 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.70 secs)
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.2",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/orta/Komondor.git"
}
],
"manifest_display_name" : "DiscreteMathematics",
"name" : "DiscreteMathematics",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DiscreteMathematics",
"targets" : [
"DiscreteMathematics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DiscreteMathematicsTests",
"module_type" : "SwiftTarget",
"name" : "DiscreteMathematicsTests",
"path" : "Tests/DiscreteMathematicsTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"ModularArithmeticTests.swift",
"OperatorsTests.swift",
"RSATests.swift",
"SequencesTests.swift"
],
"target_dependencies" : [
"DiscreteMathematics"
],
"type" : "test"
},
{
"c99name" : "DiscreteMathematics",
"module_type" : "SwiftTarget",
"name" : "DiscreteMathematics",
"path" : "Sources/DiscreteMathematics",
"product_memberships" : [
"DiscreteMathematics"
],
"sources" : [
"ModularArithmetic.swift",
"Operators.swift",
"RSA.swift",
"Sequences.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.