The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DiscreteMathematics, reference master (231724), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 16:54:38 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cszatmary/DiscreteMathematics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin SwiftFormatPlugin
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/11] Compiling DiscreteMathematics Operators.swift
[8/11] Emitting module DiscreteMathematics
[9/11] 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>
[10/11] Compiling DiscreteMathematics ModularArithmetic.swift
[11/11] Compiling DiscreteMathematics Sequences.swift
Build complete! (207.92s)
Fetching https://github.com/orta/Komondor.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/509] Fetching komondor
[455/15268] Fetching komondor, quick
[658/34852] Fetching komondor, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.41s)
Fetched https://github.com/orta/Komondor.git from cache (1.41s)
[15472/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.70s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (2.27s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (1.93s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/shibapm/PackageConfig.git
[1/1386] Fetching rocket
[112/2366] Fetching rocket, shellout
[308/2946] Fetching rocket, shellout, packageconfig
[2947/51874] Fetching rocket, shellout, packageconfig, swiftformat
[3437/202470] Fetching rocket, shellout, packageconfig, swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (75.53s)
Fetched https://github.com/f-meloni/Rocket from cache (75.53s)
[30941/152156] Fetching shellout, packageconfig, swiftlint
Fetched https://github.com/Realm/SwiftLint.git from cache (165.37s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (165.37s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (165.37s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (166.16s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/Logger
[1/4863] Fetching swiftshell
[2/4979] Fetching swiftshell, logger
[745/15838] Fetching swiftshell, logger, yams
Fetched https://github.com/jpsim/Yams from cache (1.73s)
Fetched https://github.com/kareman/SwiftShell from cache (1.73s)
Fetched https://github.com/shibapm/Logger from cache (1.73s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (2.28s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.52s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.52s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.52s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.54s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.51s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (0.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/100] Fetching collectionconcurrencykit
[101/1029] Fetching collectionconcurrencykit, swiftytexttable
[362/13970] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift
[363/30114] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten
[830/45494] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten, swift-argument-parser
[36049/116392] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten, swift-argument-parser, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.02s)
[55950/103451] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.65s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (3.65s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.65s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.65s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.65s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (4.23s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.48s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.74s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.56s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.51s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.92s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.44s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.56.4 (0.52s)
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/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.56.4
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/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.51s)
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.