The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DiscreteMathematics with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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: master
Cloned https://github.com/cszatmary/DiscreteMathematics.git into spi-builder-workspace
SUCCESS checkout https://github.com/cszatmary/DiscreteMathematics.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/JohnSundell/ShellOut.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/shibapm/PackageConfig
[1/572] Fetching shellout
[573/1152] Fetching shellout, packageconfig
Fetching https://github.com/Quick/Quick.git
Fetched https://github.com/JohnSundell/ShellOut.git (0.23s)
[1/15746] Fetching nimble
[2678/29449] Fetching nimble, quick
Fetched https://github.com/Quick/Quick.git (0.69s)
Fetching https://github.com/orta/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/orta/Komondor.git (0.27s)
Fetched https://github.com/shibapm/PackageConfig (1.18s)
Fetched https://github.com/Quick/Nimble.git (1.20s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.4 (1.15s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.36s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.38s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.30s)
Computing version for https://github.com/shibapm/PackageConfig
Computed https://github.com/shibapm/PackageConfig at 0.10.0 (0.31s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.2.0
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/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.0.4
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.0
Building for debugging...
[1/5] Emitting module DiscreteMathematics
[2/5] Compiling DiscreteMathematics ModularArithmetic.swift
[3/5] Compiling DiscreteMathematics Operators.swift
[4/5] Compiling DiscreteMathematics Sequences.swift
[5/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
Build complete! (15.09s)
Build complete.
Done.

Build Machine: Linux 2