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 swm-matrix-tools, reference 1.3.3 (928ba8), with Swift 6.1 for Linux on 26 Apr 2025 16:02:29 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taketo1024/swm-matrix-tools.git
Reference: 1.3.3
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/taketo1024/swm-matrix-tools
 * tag               1.3.3      -> FETCH_HEAD
HEAD is now at 928ba82 Merge branch 'develop'
Cloned https://github.com/taketo1024/swm-matrix-tools.git
Revision (git rev-parse @):
928ba82c473e36b550fb5a2c39f059bc31b1b818
SUCCESS checkout https://github.com/taketo1024/swm-matrix-tools.git at 1.3.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/taketo1024/swm-matrix-tools.git
https://github.com/taketo1024/swm-matrix-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swm-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/taketo1024/swm-core.git"
    }
  ],
  "manifest_display_name" : "swm-matrix-tools",
  "name" : "swm-matrix-tools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwmMatrixTools",
      "targets" : [
        "SwmMatrixTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwmMatrixToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwmMatrixToolsTests",
      "path" : "Tests/SwmMatrixToolsTests",
      "sources" : [
        "LUFactorizationTests.swift",
        "MatrixEliminationTests.swift",
        "MatrixPivotFinderTests.swift",
        "RowEliminationDataTests.swift",
        "SparseLUSolverTests.swift",
        "SparseMatrixTests.swift"
      ],
      "target_dependencies" : [
        "SwmMatrixTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwmMatrixTools",
      "module_type" : "SwiftTarget",
      "name" : "SwmMatrixTools",
      "path" : "Sources/SwmMatrixTools",
      "product_dependencies" : [
        "SwmCore"
      ],
      "product_memberships" : [
        "SwmMatrixTools"
      ],
      "sources" : [
        "Basic/ComputationalRing.swift",
        "Eliminator/Internal/DiagonalEliminator.swift",
        "Eliminator/Internal/EchelonEliminator.swift",
        "Eliminator/Internal/SmithEliminator.swift",
        "Eliminator/MatrixElementaryOperations.swift",
        "Eliminator/MatrixEliminationData.swift",
        "Eliminator/MatrixEliminationForm.swift",
        "Eliminator/MatrixEliminationResult.swift",
        "Eliminator/MatrixEliminator.swift",
        "LU/LUFactorizable.swift",
        "LU/LUFactorizationResult.swift",
        "LU/LUFactorizer.swift",
        "Matrix/MatrixIF.swift",
        "Matrix/MatrixImpl.swift",
        "PivotFinder/MatrixPivotFinder.swift",
        "SparseMatrix/DefaultSparseMatrixImpl.swift",
        "SparseMatrix/DefaultSparseMatrix_LU.swift",
        "SparseMatrix/SparseLUFactorizer.swift",
        "SparseMatrix/SparseMatrix.swift",
        "SparseMatrix/SparseMatrixImpl.swift",
        "Utils/LinkedList.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/taketo1024/swm-core.git
[1/15984] Fetching swm-core
Fetched https://github.com/taketo1024/swm-core.git from cache (0.91s)
Computing version for https://github.com/taketo1024/swm-core.git
Computed https://github.com/taketo1024/swm-core.git at 1.3.1 (1.72s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/5903] Fetching swift-algorithms
[5904/22145] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.40s)
[2924/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (1.95s)
Fetching https://github.com/apple/swift-numerics
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.72s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (1.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.24s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Creating working copy for https://github.com/taketo1024/swm-core.git
Working copy of https://github.com/taketo1024/swm-core.git resolved at 1.3.1
Building for debugging...
[0/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/35] Emitting module InternalCollectionsUtilities
[10/37] Compiling RealModule Float+Real.swift
[11/38] Compiling RealModule ElementaryFunctions.swift
[12/38] Compiling RealModule Real.swift
[13/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/38] Compiling InternalCollectionsUtilities Specialize.swift
[15/38] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/38] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/38] Compiling InternalCollectionsUtilities Debugging.swift
[18/38] Compiling InternalCollectionsUtilities Descriptions.swift
[19/38] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[20/38] Compiling InternalCollectionsUtilities Integer rank.swift
[21/38] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/38] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[23/38] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[24/38] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[25/38] Compiling RealModule Float80+Real.swift
[26/38] Compiling RealModule RealFunctions.swift
[27/38] Compiling RealModule Float16+Real.swift
[28/38] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/38] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/38] Emitting module RealModule
[35/39] Compiling InternalCollectionsUtilities UInt+reversed.swift
[36/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[37/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/39] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[41/118] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[42/118] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[43/118] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[44/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[45/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[46/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[47/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[48/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[49/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[50/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[51/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[52/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[53/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[54/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[55/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[56/128] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[57/128] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[58/128] Compiling OrderedCollections OrderedSet+Initializers.swift
[59/128] Compiling OrderedCollections OrderedSet+Insertions.swift
[60/128] Compiling OrderedCollections OrderedSet+Invariants.swift
[61/128] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[62/128] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[63/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[64/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[65/128] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[66/128] Compiling Algorithms Windows.swift
[67/128] Compiling OrderedCollections OrderedSet+Codable.swift
[68/128] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[69/128] Compiling OrderedCollections OrderedSet+Descriptions.swift
[70/128] Compiling OrderedCollections OrderedSet+Diffing.swift
[71/128] Compiling OrderedCollections OrderedSet+Equatable.swift
[72/128] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[73/128] Compiling OrderedCollections OrderedSet+Hashable.swift
[74/128] Compiling OrderedCollections _HashTable+Bucket.swift
[75/128] Compiling OrderedCollections _HashTable+BucketIterator.swift
[76/128] Compiling OrderedCollections _HashTable+Constants.swift
[77/128] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[78/128] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[79/128] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[83/128] Compiling Algorithms Trim.swift
[84/128] Compiling Algorithms Unique.swift
[85/128] Compiling OrderedCollections OrderedDictionary+Codable.swift
[86/128] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[87/128] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[88/128] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[89/128] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[90/128] Compiling OrderedCollections OrderedDictionary+Elements.swift
[91/128] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[92/128] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[102/128] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[103/128] Compiling OrderedCollections _HashTable+Testing.swift
[104/128] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[105/128] Compiling OrderedCollections _HashTable.swift
[106/128] Compiling OrderedCollections _Hashtable+Header.swift
[120/128] Compiling OrderedCollections OrderedSet+Sendable.swift
[121/128] Compiling OrderedCollections OrderedSet+SubSequence.swift
[122/128] Compiling OrderedCollections OrderedSet+Testing.swift
[123/128] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[124/128] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[125/128] Compiling OrderedCollections OrderedSet.swift
[126/128] Compiling OrderedCollections _UnsafeBitset.swift
[127/128] Emitting module OrderedCollections
[129/129] Emitting module Algorithms
[131/173] Emitting module SwmCore
[132/178] Compiling SwmCore RandomAccessCollection.swift
[133/178] Compiling SwmCore Sequence.swift
[134/178] Compiling SwmCore Set.swift
[135/178] Compiling SwmCore String.swift
[136/178] Compiling SwmCore LinearCombination.swift
[137/178] Compiling SwmCore LinearCombinationType.swift
[138/178] Compiling SwmCore Cache.swift
[139/178] Compiling SwmCore Debug.swift
[140/178] Compiling SwmCore Format.swift
[141/178] Compiling SwmCore Logger.swift
[142/178] Compiling SwmCore Storage.swift
[143/178] Compiling SwmCore TensorGenerator.swift
[144/178] Compiling SwmCore DefaultMatrixImpl.swift
[145/178] Compiling SwmCore Matrix.swift
[146/178] Compiling SwmCore MatrixIF.swift
[147/178] Compiling SwmCore MatrixImpl.swift
[148/178] Compiling SwmCore BitSequence.swift
[149/178] Compiling SwmCore Module.swift
[150/178] Compiling SwmCore Monoid.swift
[151/178] Compiling SwmCore Ring.swift
[152/178] Compiling SwmCore Array.swift
[153/178] Compiling SwmCore Codable.swift
[154/178] Compiling SwmCore Dictionary.swift
[155/178] Compiling SwmCore Combinatorics.swift
[156/178] Compiling SwmCore GraphAlgorithms.swift
[157/178] Compiling SwmCore IntList.swift
[158/178] Compiling SwmCore Operators.swift
[159/178] Compiling SwmCore Random.swift
[160/178] Compiling SwmCore TypeParameters.swift
[161/178] Compiling SwmCore AdditiveGroup.swift
[162/178] Compiling SwmCore EuclideanRing.swift
[163/178] Compiling SwmCore Field.swift
[164/178] Compiling SwmCore FractionField.swift
[165/178] Compiling SwmCore Group.swift
[166/178] Compiling SwmCore MathSet.swift
[167/178] Compiling SwmCore Complex.swift
[168/178] Compiling SwmCore F2.swift
[169/178] Compiling SwmCore Integer.swift
[170/178] Compiling SwmCore IntegerQuotient.swift
[171/178] Compiling SwmCore Quaternion.swift
[172/178] Compiling SwmCore Rational.swift
[173/178] Compiling SwmCore Real.swift
[174/178] Compiling SwmCore Permutation.swift
[175/178] Compiling SwmCore GenericPolynomial.swift
[176/178] Compiling SwmCore MultivariatePolynomial.swift
[177/178] Compiling SwmCore Polynomial.swift
[178/178] Compiling SwmCore PolynomialQuotient.swift
[180/199] Emitting module SwmMatrixTools
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:29: warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                        `- note: 'n' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                             `- warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:32: warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                                     `- note: 'm' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                                `- warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
/host/spi-builder-workspace/Sources/SwmMatrixTools/SparseMatrix/SparseLUFactorizer.swift:10:13: warning: var '_defaultDensityThreshold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | private var _defaultDensityThreshold = 0.3
    |             |- warning: var '_defaultDensityThreshold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_defaultDensityThreshold' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var '_defaultDensityThreshold' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 | public final class SparseLUFactorizer<M: SparseMatrixImpl & LUFactorizable> where M.BaseRing: ComputationalRing {
[181/201] Compiling SwmMatrixTools LUFactorizable.swift
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:29: warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                        `- note: 'n' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                             `- warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:32: warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                                     `- note: 'm' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                                `- warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
[182/201] Compiling SwmMatrixTools LUFactorizationResult.swift
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:29: warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                        `- note: 'n' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                             `- warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:32: warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                                     `- note: 'm' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                                `- warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
[183/201] Compiling SwmMatrixTools LUFactorizer.swift
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:29: warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                        `- note: 'n' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                             `- warning: generic parameter 'n' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
/host/spi-builder-workspace/Sources/SwmMatrixTools/LU/LUFactorizationResult.swift:11:32: warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | public struct LUFactorizationResult<Impl: MatrixImpl & LUFactorizable, n: SizeType, m: SizeType> {
    |                                                                                     `- note: 'm' previously declared here
 11 |     public typealias Matrix<n, m> = MatrixIF<Impl, n, m> where n: SizeType, m: SizeType
    |                                `- warning: generic parameter 'm' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |     public typealias MatrixL = Matrix<n, anySize>
 13 |     public typealias MatrixU = Matrix<anySize, m>
[184/201] Compiling SwmMatrixTools SparseMatrixImpl.swift
[185/201] Compiling SwmMatrixTools LinkedList.swift
[186/201] Compiling SwmMatrixTools MatrixIF.swift
[187/201] Compiling SwmMatrixTools MatrixImpl.swift
[188/201] Compiling SwmMatrixTools MatrixPivotFinder.swift
[189/201] Compiling SwmMatrixTools SparseLUFactorizer.swift
/host/spi-builder-workspace/Sources/SwmMatrixTools/SparseMatrix/SparseLUFactorizer.swift:10:13: warning: var '_defaultDensityThreshold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | private var _defaultDensityThreshold = 0.3
    |             |- warning: var '_defaultDensityThreshold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_defaultDensityThreshold' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var '_defaultDensityThreshold' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 | public final class SparseLUFactorizer<M: SparseMatrixImpl & LUFactorizable> where M.BaseRing: ComputationalRing {
[190/201] Compiling SwmMatrixTools SparseMatrix.swift
/host/spi-builder-workspace/Sources/SwmMatrixTools/SparseMatrix/SparseLUFactorizer.swift:10:13: warning: var '_defaultDensityThreshold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwmCore
  9 |
 10 | private var _defaultDensityThreshold = 0.3
    |             |- warning: var '_defaultDensityThreshold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_defaultDensityThreshold' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var '_defaultDensityThreshold' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 | public final class SparseLUFactorizer<M: SparseMatrixImpl & LUFactorizable> where M.BaseRing: ComputationalRing {
[191/201] Compiling SwmMatrixTools DefaultSparseMatrixImpl.swift
[192/201] Compiling SwmMatrixTools DefaultSparseMatrix_LU.swift
[193/201] Compiling SwmMatrixTools ComputationalRing.swift
[194/201] Compiling SwmMatrixTools DiagonalEliminator.swift
[195/201] Compiling SwmMatrixTools EchelonEliminator.swift
[196/201] Compiling SwmMatrixTools MatrixEliminationForm.swift
[197/201] Compiling SwmMatrixTools MatrixEliminationResult.swift
[198/201] Compiling SwmMatrixTools MatrixEliminator.swift
[199/201] Compiling SwmMatrixTools SmithEliminator.swift
[200/201] Compiling SwmMatrixTools MatrixElementaryOperations.swift
[201/201] Compiling SwmMatrixTools MatrixEliminationData.swift
Build complete! (34.61s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swm-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/taketo1024/swm-core.git"
    }
  ],
  "manifest_display_name" : "swm-matrix-tools",
  "name" : "swm-matrix-tools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwmMatrixTools",
      "targets" : [
        "SwmMatrixTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwmMatrixToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwmMatrixToolsTests",
      "path" : "Tests/SwmMatrixToolsTests",
      "sources" : [
        "LUFactorizationTests.swift",
        "MatrixEliminationTests.swift",
        "MatrixPivotFinderTests.swift",
        "RowEliminationDataTests.swift",
        "SparseLUSolverTests.swift",
        "SparseMatrixTests.swift"
      ],
      "target_dependencies" : [
        "SwmMatrixTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwmMatrixTools",
      "module_type" : "SwiftTarget",
      "name" : "SwmMatrixTools",
      "path" : "Sources/SwmMatrixTools",
      "product_dependencies" : [
        "SwmCore"
      ],
      "product_memberships" : [
        "SwmMatrixTools"
      ],
      "sources" : [
        "Basic/ComputationalRing.swift",
        "Eliminator/Internal/DiagonalEliminator.swift",
        "Eliminator/Internal/EchelonEliminator.swift",
        "Eliminator/Internal/SmithEliminator.swift",
        "Eliminator/MatrixElementaryOperations.swift",
        "Eliminator/MatrixEliminationData.swift",
        "Eliminator/MatrixEliminationForm.swift",
        "Eliminator/MatrixEliminationResult.swift",
        "Eliminator/MatrixEliminator.swift",
        "LU/LUFactorizable.swift",
        "LU/LUFactorizationResult.swift",
        "LU/LUFactorizer.swift",
        "Matrix/MatrixIF.swift",
        "Matrix/MatrixImpl.swift",
        "PivotFinder/MatrixPivotFinder.swift",
        "SparseMatrix/DefaultSparseMatrixImpl.swift",
        "SparseMatrix/DefaultSparseMatrix_LU.swift",
        "SparseMatrix/SparseLUFactorizer.swift",
        "SparseMatrix/SparseMatrix.swift",
        "SparseMatrix/SparseMatrixImpl.swift",
        "Utils/LinkedList.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.