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 PreciseDecimal, reference 1.1.0 (17a040), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 02:11:08 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/davdroman/PreciseDecimal.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davdroman/PreciseDecimal
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 17a040d Merge pull request #3 from davdroman/deprecations
Cloned https://github.com/davdroman/PreciseDecimal.git
Revision (git rev-parse @):
17a040debd0efaa6cc6bc592c9042d0fc0730300
SUCCESS checkout https://github.com/davdroman/PreciseDecimal.git at 1.1.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": "precisedecimal",
      "name": "PreciseDecimal",
      "url": "https://github.com/davdroman/PreciseDecimal.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PreciseDecimal",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/davdroman/PreciseDecimal.git
[1/377] Fetching precisedecimal
Fetched https://github.com/davdroman/PreciseDecimal.git from cache (0.78s)
Creating working copy for https://github.com/davdroman/PreciseDecimal.git
Working copy of https://github.com/davdroman/PreciseDecimal.git resolved at 1.1.0 (17a040d)
warning: '.resolve-product-dependencies': dependency 'precisedecimal' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/davdroman/PreciseDecimal.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling PreciseDecimal PreciseDecimal.swift
/Users/admin/builder/spi-builder-workspace/Sources/PreciseDecimal/PreciseDecimal.swift:52:14: warning: 'init(_:)' is deprecated: PreciseDecimal.init(_:) loses precision past the 6th decimal place, so it is deprecated and will be removed in version 2. Use PreciseDecimal.init(string:) instead.
50 |     public init(from decoder: Decoder) throws {
51 |         let container = try decoder.singleValueContainer()
52 |         self.init(try container.decode(Double.self))
   |              `- warning: 'init(_:)' is deprecated: PreciseDecimal.init(_:) loses precision past the 6th decimal place, so it is deprecated and will be removed in version 2. Use PreciseDecimal.init(string:) instead.
53 |     }
54 |
[4/4] Emitting module PreciseDecimal
Build complete! (5.84s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PreciseDecimal",
  "name" : "PreciseDecimal",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PreciseDecimal",
      "targets" : [
        "PreciseDecimal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PreciseDecimalTests",
      "module_type" : "SwiftTarget",
      "name" : "PreciseDecimalTests",
      "path" : "Tests/PreciseDecimalTests",
      "sources" : [
        "DecodingTests.swift",
        "InitTests.swift"
      ],
      "target_dependencies" : [
        "PreciseDecimal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PreciseDecimal",
      "module_type" : "SwiftTarget",
      "name" : "PreciseDecimal",
      "path" : "Sources/PreciseDecimal",
      "product_memberships" : [
        "PreciseDecimal"
      ],
      "sources" : [
        "PreciseDecimal.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.