Build Information
Successful build of DiscreteMathematics, reference 2.0.0 (a0ac74), with Swift 6.1 for Android on 27 May 2025 20:07:56 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/cszatmary/DiscreteMathematics.git
https://github.com/cszatmary/DiscreteMathematics.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/orta/Komondor.git
[1/14755] Fetching quick
[297/15264] Fetching quick, komondor
Fetched https://github.com/orta/Komondor.git from cache (0.28s)
[5607/14755] Fetching quick
[7969/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (2.22s)
Fetched https://github.com/Quick/Nimble.git from cache (2.25s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (2.75s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (1.83s)
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
[1/960] Fetching shellout
[577/1540] Fetching shellout, packageconfig
[1541/2926] Fetching shellout, packageconfig, rocket
[2927/153309] Fetching shellout, packageconfig, rocket, swiftlint
[4431/201491] Fetching shellout, packageconfig, rocket, swiftlint, swiftformat
Fetched https://github.com/JohnSundell/ShellOut.git from cache (40.98s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (53.94s)
Fetched https://github.com/f-meloni/Rocket from cache (53.94s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (54.57s)
Fetched https://github.com/Realm/SwiftLint.git from cache (55.34s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (64.49s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[117/4979] Fetching logger, swiftshell
[4980/15636] Fetching logger, swiftshell, yams
Fetched https://github.com/shibapm/Logger from cache (9.85s)
Fetched https://github.com/kareman/SwiftShell from cache (9.92s)
Fetched https://github.com/jpsim/Yams from cache (9.95s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (15.30s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (4.70s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.81s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (2.74s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (1.84s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.52s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (1.03s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/929] Fetching swiftytexttable
[48/1013] Fetching swiftytexttable, collectionconcurrencykit
[1014/13954] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.70s)
[1897/28376] Fetching collectionconcurrencykit, cryptoswift, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.70s)
[11084/13025] Fetching collectionconcurrencykit, cryptoswift
[13026/29137] Fetching collectionconcurrencykit, cryptoswift, sourcekitten
[24788/99581] Fetching collectionconcurrencykit, cryptoswift, sourcekitten, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (2.95s)
[36802/99497] Fetching cryptoswift, sourcekitten, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.00s)
[24566/86556] Fetching sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (6.99s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.03s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (9.25s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.56s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.03s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.61s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.28s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.92s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.48s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.56.2 (0.53s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
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/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
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/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.0
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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.5.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.56.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin SwiftFormatPlugin
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling DiscreteMathematics Sequences.swift
[8/11] Compiling DiscreteMathematics Operators.swift
[9/11] Compiling DiscreteMathematics ModularArithmetic.swift
[10/11] Emitting module DiscreteMathematics
[11/11] Compiling DiscreteMathematics RSA.swift
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:48:34: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
46 |
47 | public func encrypt(string: String, e: Int, pq: Int) -> String {
48 | return encrypt(array: string.flatMap { alphabetNumbers[String($0)] }, e: e, pq: pq)
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
49 | .flatMap { alphabetValues[$0] }.joined()
50 | }
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:49:10: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
47 | public func encrypt(string: String, e: Int, pq: Int) -> String {
48 | return encrypt(array: string.flatMap { alphabetNumbers[String($0)] }, e: e, pq: pq)
49 | .flatMap { alphabetValues[$0] }.joined()
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
50 | }
51 |
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:57:34: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
55 |
56 | public func decrypt(string: String, d: Int, pq: Int) -> String {
57 | return decrypt(array: string.flatMap { alphabetNumbers[String($0)] }, d: d, pq: pq)
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
58 | .flatMap { alphabetValues[$0] }.joined()
59 | }
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:58:10: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
56 | public func decrypt(string: String, d: Int, pq: Int) -> String {
57 | return decrypt(array: string.flatMap { alphabetNumbers[String($0)] }, d: d, pq: pq)
58 | .flatMap { alphabetValues[$0] }.joined()
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
59 | }
60 |
Build complete! (161.31s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.