The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Math, reference latest (0a4fae), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:27:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dn-m/Math.git
Reference: latest
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dn-m/Math
 * branch            latest     -> FETCH_HEAD
 * [new branch]      latest     -> origin/latest
HEAD is now at 0a4fae9 Implement Chinese Remainder Theorem (#39)
Cloned https://github.com/dn-m/Math.git
Revision (git rev-parse @):
0a4fae9f832c41152d488d52f4ce4fdb9bfb3833
SUCCESS checkout https://github.com/dn-m/Math.git at latest
Fetching https://github.com/dn-m/Structure
Fetching https://github.com/dn-m/PerformanceTesting
[1/5829] Fetching structure
[410/7354] Fetching structure, performancetesting
Fetched https://github.com/dn-m/PerformanceTesting from cache (0.99s)
Fetched https://github.com/dn-m/Structure from cache (0.99s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.23.0 (0.68s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.3.0 (0.72s)
Creating working copy for https://github.com/dn-m/Structure
Working copy of https://github.com/dn-m/Structure resolved at 0.23.0
Creating working copy for https://github.com/dn-m/PerformanceTesting
Working copy of https://github.com/dn-m/PerformanceTesting resolved at 0.3.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",
  "dependencies": [
    {
      "identity": "math",
      "name": "Math",
      "url": "https://github.com/dn-m/Math.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Math",
      "dependencies": [
        {
          "identity": "structure",
          "name": "Structure",
          "url": "https://github.com/dn-m/Structure",
          "version": "0.25.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Structure",
          "dependencies": [
            {
              "identity": "performancetesting",
              "name": "PerformanceTesting",
              "url": "https://github.com/dn-m/PerformanceTesting",
              "version": "0.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerformanceTesting",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dn-m/Math.git
[1/841] Fetching math
Fetched https://github.com/dn-m/Math.git from cache (0.92s)
Fetching https://github.com/dn-m/Structure from cache
Fetched https://github.com/dn-m/Structure from cache (0.51s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.25.0 (2.49s)
Fetching https://github.com/dn-m/PerformanceTesting from cache
Fetched https://github.com/dn-m/PerformanceTesting from cache (0.47s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.4.0 (0.64s)
Creating working copy for https://github.com/dn-m/Structure
Working copy of https://github.com/dn-m/Structure resolved at 0.25.0
Creating working copy for https://github.com/dn-m/Math.git
Working copy of https://github.com/dn-m/Math.git resolved at latest (0a4fae9)
Creating working copy for https://github.com/dn-m/PerformanceTesting
Working copy of https://github.com/dn-m/PerformanceTesting resolved at 0.4.0
warning: '.resolve-product-dependencies': dependency 'math' is not used by any target
Found 1 product dependencies
  - Structure
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dn-m/Math.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/8] Compiling Destructure Destructure.swift
[8/8] Emitting module Destructure
[9/33] Compiling Algebra MonoidView.swift
[10/33] Compiling Algebra Multiplicative.swift
[11/34] Compiling Algebra Invertible.swift
[12/34] Compiling Algebra Monoid.swift
[13/34] Compiling Algorithms TupleMap.swift
[14/34] Compiling Algorithms Unzip.swift
[15/34] Compiling Algebra Zero.swift
[16/34] Compiling Algebra Semigroup.swift
[17/34] Compiling Algebra MultiplicativeSemigroup.swift
[18/34] Compiling Algebra One.swift
[19/34] Compiling Algebra Sum.swift
[20/34] Compiling Algebra Product.swift
[21/34] Compiling Algorithms Swap.swift
[22/34] Compiling Algorithms Split.swift
[23/34] Compiling Algorithms Rotate.swift
[24/34] Compiling Algorithms Ordered.swift
[25/34] Compiling Algorithms StableSort.swift
[26/34] Emitting module Algorithms
[27/34] Compiling Algorithms Combinatorics.swift
[28/34] Compiling Algebra AdditiveGroup.swift
[29/34] Compiling Algebra AdditiveSemigroup.swift
[30/34] Compiling Algebra Accumulate.swift
[31/34] Compiling Algebra Additive.swift
[32/34] Emitting module Algebra
[33/34] Compiling Algebra AlgebraAdapters.swift
[34/34] Compiling Algebra Group.swift
[35/95] Compiling DataStructures Pair.swift
[36/95] Compiling DataStructures SwappablePair.swift
[37/95] Compiling DataStructures SymmetricPair.swift
[38/95] Compiling DataStructures UnorderedPair.swift
[39/95] Compiling DataStructures Queue.swift
[40/95] Compiling DataStructures RangeProtocol+Algebra.swift
[41/95] Compiling DataStructures RangeProtocol.swift
[42/101] Compiling DataStructures IntegerWrapping.swift
[43/101] Compiling DataStructures RandomAccessCollectionWrapping.swift
[44/101] Compiling DataStructures SequenceWrapping.swift
[45/101] Compiling DataStructures SortedCollectionWrapping.swift
[46/101] Compiling DataStructures Zip3Sequence.swift
[47/101] Compiling DataStructures ZipToLongest.swift
[48/101] Compiling DataStructures ReferenceTreeProtocol.swift
[49/101] Compiling DataStructures SequenceExtensions.swift
[50/101] Compiling DataStructures SetExtensions.swift
[51/101] Compiling DataStructures SingleTypedTree.swift
[52/101] Compiling DataStructures SortedArray.swift
[53/101] Compiling DataStructures SortedDictionary.swift
[54/101] Compiling DataStructures ReferenceGraph.AdjacencyList.swift
[55/101] Compiling DataStructures ReferenceGraph.Edge.swift
[56/101] Compiling DataStructures ReferenceGraph.EdgeList.swift
[57/101] Compiling DataStructures ReferenceGraph.Node.swift
[58/101] Compiling DataStructures ReferenceGraph.swift
[59/101] Compiling DataStructures ReferenceTree.swift
[60/101] Compiling DataStructures LinkedList.swift
[61/101] Compiling DataStructures Matrix.swift
[62/101] Compiling DataStructures Metatype.swift
[63/101] Compiling DataStructures NewType.swift
[64/101] Compiling DataStructures OrderedDictionary.swift
[65/101] Compiling DataStructures Cross.swift
[66/101] Compiling DataStructures OrderedPair.swift
[67/101] Compiling DataStructures Stack.swift
[68/101] Compiling DataStructures Tree.Zipper.swift
[69/101] Compiling DataStructures Tree.swift
[70/101] Compiling DataStructures CollectionWrapping.swift
[71/101] Compiling DataStructures DoubleWrapping.swift
[72/101] Compiling DataStructures FloatWrapping.swift
[73/101] Compiling DataStructures Either.swift
[74/101] Compiling DataStructures DirectedGraph.swift
[75/101] Compiling DataStructures Graph.swift
[76/101] Compiling DataStructures DirectedGraphProtocol.swift
[77/101] Compiling DataStructures GraphProtocol.swift
[78/101] Compiling DataStructures UndirectedGraphProtocol.swift
[79/101] Compiling DataStructures UnweightedGraphProtocol.swift
[80/101] Compiling DataStructures AVLTree.swift
[81/101] Compiling DataStructures AdjacencyList.swift
[82/101] Compiling DataStructures Bimap.swift
[83/101] Compiling DataStructures BinaryHeap.swift
[84/101] Compiling DataStructures BinarySearchTree.swift
[85/101] Compiling DataStructures CircularArray.swift
[86/101] Compiling DataStructures CollectionExtensions.swift
[87/101] Compiling DataStructures ContiguousSegmentCollection.swift
[88/101] Compiling DataStructures Fragmentable.swift
[89/101] Compiling DataStructures Intervallic.swift
[90/101] Compiling DataStructures IntervallicFragmentable.swift
[91/101] Compiling DataStructures Measured.swift
[92/101] Compiling DataStructures Totalizable.swift
[93/101] Compiling DataStructures DictionaryProtocol.swift
[94/101] Emitting module DataStructures
[95/101] Compiling DataStructures WeightedGraphProtocol.swift
[96/101] Compiling DataStructures WeightedDirectedGraph.swift
[97/101] Compiling DataStructures WeightedGraph.swift
[98/101] Compiling DataStructures Homogeneity.swift
[99/101] Compiling DataStructures Identifier.swift
[100/101] Compiling DataStructures IntervalRelation.swift
[101/101] Compiling DataStructures InvertibleEnum.swift
[102/117] Compiling Math Power.swift
[103/117] Compiling Math PowerOfTwoSequence.swift
[104/118] Compiling Math Scale.swift
[105/118] Compiling Math Rational.swift
[106/118] Compiling Math Proximity.swift
[107/118] Compiling Math IntegerExtensions.swift
[108/118] Compiling Math LinearRegression.swift
[109/118] Compiling Math Quadratic.swift
[110/118] Compiling Math Functions.swift
[111/118] Compiling Math GCDDomain.swift
[112/118] Compiling Math Bitwise.swift
[113/118] Compiling Math ChineseRemainderTheorem.swift
[114/118] Compiling Math CollectionExtensions.swift
[115/118] Compiling Math Coprime.swift
[116/118] Emitting module Math
[117/118] Compiling Math DoubleExtensions.swift
[118/118] Compiling Math Fraction.swift
Build complete! (7.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "structure",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.23.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dn-m/Structure"
    }
  ],
  "manifest_display_name" : "Math",
  "name" : "Math",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Math",
      "targets" : [
        "Math"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MathTests",
      "module_type" : "SwiftTarget",
      "name" : "MathTests",
      "path" : "Tests/MathTests",
      "product_dependencies" : [
        "DataStructures"
      ],
      "sources" : [
        "BitwiseTests.swift",
        "ChineseRemainderTheoremTests.swift",
        "CloserToTests.swift",
        "CoprimeTests.swift",
        "EvenTests.swift",
        "GreatestCommonDivisorTests.swift",
        "IsDivisibleTests.swift",
        "IsPowerOfTwoTests.swift",
        "LeastCommonMultipleTests.swift",
        "LinearRegressionTests.swift",
        "MeanTests.swift",
        "ModuloTests.swift",
        "OddTests.swift",
        "PowerOfTwoSequenceTests.swift",
        "PowerTests.swift",
        "PrimeTests.swift",
        "QuadraticTests.swift",
        "RationalTests.swift",
        "ScaleTests.swift",
        "SequenceTypeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Math"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Math",
      "module_type" : "SwiftTarget",
      "name" : "Math",
      "path" : "Sources/Math",
      "product_dependencies" : [
        "Algebra",
        "DataStructures"
      ],
      "product_memberships" : [
        "Math"
      ],
      "sources" : [
        "Bitwise.swift",
        "ChineseRemainderTheorem.swift",
        "CollectionExtensions.swift",
        "Coprime.swift",
        "DoubleExtensions.swift",
        "Fraction.swift",
        "Functions.swift",
        "GCDDomain.swift",
        "IntegerExtensions.swift",
        "LinearRegression.swift",
        "Power.swift",
        "PowerOfTwoSequence.swift",
        "Proximity.swift",
        "Quadratic.swift",
        "Rational.swift",
        "Scale.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.