The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DiscreteMathematics with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

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
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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 into spi-builder-workspace
a0ac74e242c1b97a5deab9e967afc56830a63651
SUCCESS checkout https://github.com/cszatmary/DiscreteMathematics.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/orta/Komondor.git from cache
Fetching https://github.com/shibapm/PackageConfig from cache
Fetched https://github.com/orta/Komondor.git (0.31s)
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetched https://github.com/shibapm/PackageConfig (0.31s)
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/JohnSundell/ShellOut.git (0.16s)
Fetched https://github.com/Quick/Nimble.git (0.51s)
Fetched https://github.com/Quick/Quick.git (0.73s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.4 (0.35s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.03s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.03s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.02s)
Computing version for https://github.com/shibapm/PackageConfig
Computed https://github.com/shibapm/PackageConfig at 0.10.0 (0.34s)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.2.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/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] Compiling DiscreteMathematics Sequences.swift
[2/5] Compiling DiscreteMathematics RSA.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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)
                                 ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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()
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:49:10: note: use 'compactMap(_:)' instead
        .flatMap { alphabetValues[$0] }.joined()
         ^~~~~~~
         compactMap
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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)
                                 ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/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()
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DiscreteMathematics/RSA.swift:58:10: note: use 'compactMap(_:)' instead
        .flatMap { alphabetValues[$0] }.joined()
         ^~~~~~~
         compactMap
[3/5] Compiling DiscreteMathematics Operators.swift
[4/5] Emitting module DiscreteMathematics
[5/5] Compiling DiscreteMathematics ModularArithmetic.swift
Build complete! (13.69s)
Build complete.
Done.