The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DiscreteMathematics with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cszatmary/DiscreteMathematics.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2317247 Change default target to xcode
Cloned https://github.com/cszatmary/DiscreteMathematics.git
Revision (git rev-parse @):
2317247d4299d2f06083304850391e04a6062128
SUCCESS checkout https://github.com/cszatmary/DiscreteMathematics.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/cszatmary/DiscreteMathematics.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/orta/Komondor.git
[1/956] Fetching shellout
[938/1536] Fetching shellout, packageconfig
[1518/2045] Fetching shellout, packageconfig, komondor
[2027/16254] Fetching shellout, packageconfig, komondor, quick
[16236/33545] Fetching shellout, packageconfig, komondor, quick, nimble
Fetched https://github.com/orta/Komondor.git from cache (1.63s)
Fetched https://github.com/shibapm/PackageConfig from cache (1.63s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.63s)
Fetched https://github.com/Quick/Quick.git from cache (1.64s)
Fetched https://github.com/Quick/Nimble.git from cache (1.65s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.4 (1.34s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.53s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.49s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.48s)
Computing version for https://github.com/shibapm/PackageConfig
Computed https://github.com/shibapm/PackageConfig at 0.10.0 (0.58s)
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/shibapm/PackageConfig
Working copy of https://github.com/shibapm/PackageConfig resolved at 0.10.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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module DiscreteMathematics
[4/7] Compiling DiscreteMathematics Operators.swift
[5/7] Compiling DiscreteMathematics ModularArithmetic.swift
[6/7] Compiling DiscreteMathematics Sequences.swift
[7/7] 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! (18.39s)
Build complete.
Done.

Build Machine: Linux 2