Build Information
Successful build of DiscreteMathematics with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cszatmary/DiscreteMathematics.git
Reference: 2.0.0
Cloned https://github.com/cszatmary/DiscreteMathematics.git into spi-builder-workspace
SUCCESS checkout https://github.com/cszatmary/DiscreteMathematics.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/orta/Komondor.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/572] Fetching shellout
[573/1081] Fetching shellout, komondor
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/JohnSundell/ShellOut.git (0.22s)
[1/13703] Fetching quick
Fetched https://github.com/orta/Komondor.git (0.56s)
Fetching https://github.com/shibapm/PackageConfig
Fetched https://github.com/Quick/Quick.git (0.57s)
[1/15746] Fetching nimble
[11496/16326] Fetching nimble, packageconfig
Fetched https://github.com/shibapm/PackageConfig (0.21s)
[13385/15746] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (0.95s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.4 (0.91s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.28s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.29s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.27s)
Computing version for https://github.com/shibapm/PackageConfig
Computed https://github.com/shibapm/PackageConfig at 0.10.0 (0.29s)
Creating working copy for https://github.com/shibapm/PackageConfig
Working copy of https://github.com/shibapm/PackageConfig resolved at 0.10.0
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.0.4
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.2.0
Building for debugging...
[1/5] 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
return encrypt(array: string.flatMap { alphabetNumbers[String($0)] }, e: e, pq: pq)
^
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:48:34: note: use 'compactMap(_:)' instead
return encrypt(array: string.flatMap { alphabetNumbers[String($0)] }, e: e, pq: pq)
^~~~~~~
compactMap
/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
.flatMap { alphabetValues[$0] }.joined()
^
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:49:10: note: use 'compactMap(_:)' instead
.flatMap { alphabetValues[$0] }.joined()
^~~~~~~
compactMap
/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
return decrypt(array: string.flatMap { alphabetNumbers[String($0)] }, d: d, pq: pq)
^
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:57:34: note: use 'compactMap(_:)' instead
return decrypt(array: string.flatMap { alphabetNumbers[String($0)] }, d: d, pq: pq)
^~~~~~~
compactMap
/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
.flatMap { alphabetValues[$0] }.joined()
^
/host/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:58:10: note: use 'compactMap(_:)' instead
.flatMap { alphabetValues[$0] }.joined()
^~~~~~~
compactMap
[2/5] Compiling DiscreteMathematics Sequences.swift
[3/5] Emitting module DiscreteMathematics
[4/5] Compiling DiscreteMathematics ModularArithmetic.swift
[5/5] Compiling DiscreteMathematics Operators.swift
Build complete! (11.74s)
Build complete.
Done.
Build Machine: Linux 1