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 TOMLDeserializer, reference main (2adbf3), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 14:06:16 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dduan/TOMLDeserializer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dduan/TOMLDeserializer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2adbf3d Add final notes
Cloned https://github.com/dduan/TOMLDeserializer.git
Revision (git rev-parse @):
2adbf3d04a7e5ed4da63b016213e786363c87b7b
SUCCESS checkout https://github.com/dduan/TOMLDeserializer.git at main
Fetching https://github.com/dduan/NetTime
[1/411] Fetching nettime
Fetched https://github.com/dduan/NetTime from cache (0.79s)
Computing version for https://github.com/dduan/NetTime
Computed https://github.com/dduan/NetTime at 0.2.3 (0.54s)
Creating working copy for https://github.com/dduan/NetTime
Working copy of https://github.com/dduan/NetTime resolved at 0.2.3
========================================
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": "tomldeserializer",
      "name": "TOMLDeserializer",
      "url": "https://github.com/dduan/TOMLDeserializer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TOMLDeserializer",
      "dependencies": [
        {
          "identity": "nettime",
          "name": "NetTime",
          "url": "https://github.com/dduan/NetTime",
          "version": "0.2.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetTime",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dduan/TOMLDeserializer.git
[1/803] Fetching tomldeserializer
Fetched https://github.com/dduan/TOMLDeserializer.git from cache (0.88s)
Fetching https://github.com/dduan/NetTime from cache
Fetched https://github.com/dduan/NetTime from cache (0.49s)
Computing version for https://github.com/dduan/NetTime
Computed https://github.com/dduan/NetTime at 0.2.3 (0.02s)
Creating working copy for https://github.com/dduan/TOMLDeserializer.git
Working copy of https://github.com/dduan/TOMLDeserializer.git resolved at main (2adbf3d)
Creating working copy for https://github.com/dduan/NetTime
Working copy of https://github.com/dduan/NetTime resolved at 0.2.3
warning: '.resolve-product-dependencies': dependency 'tomldeserializer' is not used by any target
Found 1 product dependencies
  - NetTime
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dduan/TOMLDeserializer.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/11] Compiling NetTime LocalDateTime.swift
[5/11] Compiling NetTime LocalDate.swift
[6/11] Compiling NetTime DateTimeRepresentable.swift
[7/11] Compiling NetTime LocalTime.swift
[8/11] Compiling NetTime constants.swift
[9/11] Compiling NetTime TimeOffset.swift
[10/11] Emitting module NetTime
[11/11] Compiling NetTime DateTime.swift
[12/18] Compiling TOMLDeserializer TOMLDeserializer.swift
[13/18] Compiling TOMLDeserializer constants.swift
[14/18] Compiling TOMLDeserializer Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/TOMLDeserializer/Parser.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
  1 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  2 | extension Dictionary where Value == Any, Key == String {
  3 |     @discardableResult
[15/18] Emitting module TOMLDeserializer
/Users/admin/builder/spi-builder-workspace/Sources/TOMLDeserializer/Parser.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
  1 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  2 | extension Dictionary where Value == Any, Key == String {
  3 |     @discardableResult
[16/18] Compiling TOMLDeserializer Scanner.swift
[17/18] Compiling TOMLDeserializer Location.swift
[18/18] Compiling TOMLDeserializer Errors.swift
Build complete! (5.79s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TOMLDeserializerTests/Tests/DrStringTests/valid_fixtures': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TOMLDeserializerTests/Tests/DrStringTests/invalid_fixtures': File not found.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "nettime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dduan/NetTime"
    }
  ],
  "manifest_display_name" : "TOMLDeserializer",
  "name" : "TOMLDeserializer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TOMLDeserializer",
      "targets" : [
        "TOMLDeserializer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TOMLDeserializerTests",
      "module_type" : "SwiftTarget",
      "name" : "TOMLDeserializerTests",
      "path" : "Tests/TOMLDeserializerTests",
      "product_dependencies" : [
        "NetTime"
      ],
      "sources" : [
        "ErrorTests.swift",
        "ScannerTests.swift",
        "TOMLDeserializerTests.swift",
        "TOMLInvalidationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TOMLDeserializer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TOMLDeserializer",
      "module_type" : "SwiftTarget",
      "name" : "TOMLDeserializer",
      "path" : "Sources/TOMLDeserializer",
      "product_dependencies" : [
        "NetTime"
      ],
      "product_memberships" : [
        "TOMLDeserializer"
      ],
      "sources" : [
        "Errors.swift",
        "Location.swift",
        "Parser.swift",
        "Scanner.swift",
        "TOMLDeserializer.swift",
        "constants.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TOMLDeserializerTests/Tests/DrStringTests/invalid_fixtures': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TOMLDeserializerTests/Tests/DrStringTests/valid_fixtures': File not found.
Done.