The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DiscreteMathematics, reference master (231724), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 19:09:26 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cszatmary/DiscreteMathematics.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/orta/Komondor.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig
[1/980] Fetching shellout
[197/1560] Fetching shellout, packageconfig
[320/2069] Fetching shellout, packageconfig, komondor
[2070/21886] Fetching shellout, packageconfig, komondor, nimble
[2071/36782] Fetching shellout, packageconfig, komondor, nimble, quick
Fetched https://github.com/shibapm/PackageConfig from cache (2.25s)
Fetched https://github.com/orta/Komondor.git from cache (2.25s)
Fetched https://github.com/Quick/Nimble.git from cache (2.25s)
Fetched https://github.com/Quick/Quick.git from cache (2.25s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (2.25s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.4 (4.56s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.78s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.84s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.76s)
Computing version for https://github.com/shibapm/PackageConfig
Computed https://github.com/shibapm/PackageConfig at 0.10.0 (0.70s)
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "discretemathematics",
      "name": "DiscreteMathematics",
      "url": "https://github.com/cszatmary/DiscreteMathematics.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DiscreteMathematics",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "quick",
          "name": "Quick",
          "url": "https://github.com/Quick/Quick.git",
          "version": "2.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "nimble",
              "name": "Nimble",
              "url": "https://github.com/Quick/Nimble.git",
              "version": "8.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble.git",
          "version": "8.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "komondor",
          "name": "Komondor",
          "url": "https://github.com/orta/Komondor.git",
          "version": "1.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Komondor",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "packageconfig",
              "name": "PackageConfig",
              "url": "https://github.com/shibapm/PackageConfig.git",
              "version": "1.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "shellout",
              "name": "ShellOut",
              "url": "https://github.com/JohnSundell/ShellOut.git",
              "version": "2.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swiftformat",
              "name": "SwiftFormat",
              "url": "https://github.com/nicklockwood/SwiftFormat.git",
              "version": "0.60.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormat",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swiftlint",
              "name": "SwiftLint",
              "url": "https://github.com/Realm/SwiftLint.git",
              "version": "0.59.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLint",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-argument-parser",
                  "name": "swift-argument-parser",
                  "url": "https://github.com/apple/swift-argument-parser.git",
                  "version": "1.7.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-syntax",
                  "name": "swift-syntax",
                  "url": "https://github.com/swiftlang/swift-syntax.git",
                  "version": "601.0.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "sourcekitten",
                  "name": "SourceKitten",
                  "url": "https://github.com/jpsim/SourceKitten.git",
                  "version": "0.37.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SourceKitten",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                    {
                      "identity": "swift-argument-parser",
                      "name": "swift-argument-parser",
                      "url": "https://github.com/apple/swift-argument-parser.git",
                      "version": "1.7.1",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
                      "traits": [
                        "default"
                      ],
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swxmlhash",
                      "name": "SWXMLHash",
                      "url": "https://github.com/drmohundro/SWXMLHash.git",
                      "version": "7.0.2",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
                      "traits": [
                        "default"
                      ],
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "yams",
                      "name": "Yams",
                      "url": "https://github.com/jpsim/Yams",
                      "version": "5.4.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
                      "traits": [
                        "default"
                      ],
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "yams",
                  "name": "Yams",
                  "url": "https://github.com/jpsim/Yams",
                  "version": "5.4.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swiftytexttable",
                  "name": "SwiftyTextTable",
                  "url": "https://github.com/scottrhoyt/SwiftyTextTable.git",
                  "version": "0.9.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyTextTable",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "collectionconcurrencykit",
                  "name": "CollectionConcurrencyKit",
                  "url": "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
                  "version": "0.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CollectionConcurrencyKit",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "cryptoswift",
                  "name": "CryptoSwift",
                  "url": "https://github.com/krzyzanowskim/CryptoSwift.git",
                  "version": "1.9.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "rocket",
              "name": "Rocket",
              "url": "https://github.com/f-meloni/Rocket",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rocket",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "yams",
                  "name": "Yams",
                  "url": "https://github.com/jpsim/Yams",
                  "version": "5.4.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "logger",
                  "name": "Logger",
                  "url": "https://github.com/shibapm/Logger",
                  "version": "0.2.3",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swiftshell",
                  "name": "SwiftShell",
                  "url": "https://github.com/kareman/SwiftShell",
                  "version": "5.1.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "packageconfig",
                  "name": "PackageConfig",
                  "url": "https://github.com/shibapm/PackageConfig.git",
                  "version": "1.1.3",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/cszatmary/DiscreteMathematics.git
[1/193] Fetching discretemathematics
Fetched https://github.com/cszatmary/DiscreteMathematics.git from cache (0.64s)
Fetching https://github.com/orta/Komondor.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.66s)
Fetched https://github.com/Quick/Quick.git from cache (0.66s)
Fetched https://github.com/orta/Komondor.git from cache (0.66s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (1.41s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (0.68s)
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetching https://github.com/shibapm/PackageConfig.git from cache
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/f-meloni/Rocket
[1/1386] Fetching rocket
[1387/57396] Fetching rocket, swiftformat
[3628/218180] Fetching rocket, swiftformat, swiftlint
Fetched https://github.com/shibapm/PackageConfig.git from cache (84.91s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (153.02s)
Fetched https://github.com/Realm/SwiftLint.git from cache (153.02s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (153.02s)
Fetched https://github.com/f-meloni/Rocket from cache (153.02s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (153.88s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
[1/4891] Fetching swiftshell
[686/16442] Fetching swiftshell, yams
[1030/16558] Fetching swiftshell, yams, logger
Fetched https://github.com/jpsim/Yams from cache (2.04s)
Fetched https://github.com/shibapm/Logger from cache (2.04s)
Fetched https://github.com/kareman/SwiftShell from cache (2.04s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.1 (2.72s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.65s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.03s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.66s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.68s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.65s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (0.61s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[29/1030] Fetching swiftytexttable, collectionconcurrencykit
[335/14371] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
[336/31894] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, swift-argument-parser
[470/48094] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, swift-argument-parser, sourcekitten
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.93s)
[2032/47165] Fetching collectionconcurrencykit, cryptoswift, swift-argument-parser, sourcekitten
[36646/122132] Fetching collectionconcurrencykit, cryptoswift, swift-argument-parser, sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (4.22s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.22s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.22s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.22s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (4.22s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (4.94s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.26s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.76s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.65s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.63s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.07s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.60s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.60.1 (0.65s)
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/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/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.1
Creating working copy for https://github.com/cszatmary/DiscreteMathematics.git
Working copy of https://github.com/cszatmary/DiscreteMathematics.git resolved at master (2317247)
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.60.1
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
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/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[32750/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.41s)
warning: '.resolve-product-dependencies': dependency 'discretemathematics' is not used by any target
Found 3 product dependencies
  - Quick
  - Nimble
  - Komondor
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cszatmary/DiscreteMathematics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/7] Compiling DiscreteMathematics Sequences.swift
[4/7] Compiling DiscreteMathematics Operators.swift
[5/7] Compiling DiscreteMathematics ModularArithmetic.swift
[6/7] Emitting module DiscreteMathematics
[7/7] Compiling DiscreteMathematics RSA.swift
/Users/admin/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                  `- note: use 'compactMap(_:)' instead
49 |         .flatMap { alphabetValues[$0] }.joined()
50 | }
/Users/admin/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |          `- note: use 'compactMap(_:)' instead
50 | }
51 |
/Users/admin/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                  `- note: use 'compactMap(_:)' instead
58 |         .flatMap { alphabetValues[$0] }.joined()
59 | }
/Users/admin/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |          `- note: use 'compactMap(_:)' instead
59 | }
60 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.75s)
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" : "/Users/admin/builder/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"
}
Done.