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 INI, reference master (60b788), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 03:08:13 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/bouke/ini.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bouke/ini
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 60b7887 Release 1.2.0
Cloned https://github.com/bouke/ini.git
Revision (git rev-parse @):
60b7887c6f4051e5cb76b5faa0a7d6db510ddcb0
SUCCESS checkout https://github.com/bouke/ini.git at master
========================================
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": "ini",
      "name": "INI",
      "url": "https://github.com/bouke/ini.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ini",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bouke/ini.git
[1/151] Fetching ini
Fetched https://github.com/bouke/ini.git from cache (0.80s)
Creating working copy for https://github.com/bouke/ini.git
Working copy of https://github.com/bouke/ini.git resolved at master (60b7887)
warning: '.resolve-product-dependencies': dependency 'ini' 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/bouke/ini.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/6] Emitting module INI
[4/6] Compiling INI Scanner+Swift.swift
[5/6] Compiling INI parseINI().swift
[6/6] Compiling INI Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/INI/Error.swift:14:32: warning: enum case 'invalidSyntax' has one associated value that is a tuple of 3 elements
 5 | }
 6 | enum ParseError: Error {
 7 |     case invalidSyntax(Scanner.Position)
   |          `- note: 'invalidSyntax' declared here
 8 |     case unsupportedToken(Scanner.Position)
 9 | }
   :
12 |     var description: String {
13 |         switch self {
14 |         case let .invalidSyntax(_, row, pos): return "Invalid syntax at row \(row), position \(pos)"
   |                                `- warning: enum case 'invalidSyntax' has one associated value that is a tuple of 3 elements
15 |         case let .unsupportedToken(_, row, pos): return "Unsupported token at row \(row), position \(pos)"
16 |         }
/Users/admin/builder/spi-builder-workspace/Sources/INI/Error.swift:15:35: warning: enum case 'unsupportedToken' has one associated value that is a tuple of 3 elements
 6 | enum ParseError: Error {
 7 |     case invalidSyntax(Scanner.Position)
 8 |     case unsupportedToken(Scanner.Position)
   |          `- note: 'unsupportedToken' declared here
 9 | }
10 |
   :
13 |         switch self {
14 |         case let .invalidSyntax(_, row, pos): return "Invalid syntax at row \(row), position \(pos)"
15 |         case let .unsupportedToken(_, row, pos): return "Unsupported token at row \(row), position \(pos)"
   |                                   `- warning: enum case 'unsupportedToken' has one associated value that is a tuple of 3 elements
16 |         }
17 |     }
Build complete! (6.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "INI",
  "name" : "INI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "INI",
      "targets" : [
        "INI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "INITests",
      "module_type" : "SwiftTarget",
      "name" : "INITests",
      "path" : "Tests/INITests",
      "sources" : [
        "ParseINITests.swift"
      ],
      "target_dependencies" : [
        "INI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "INI",
      "module_type" : "SwiftTarget",
      "name" : "INI",
      "path" : "Sources/INI",
      "product_memberships" : [
        "INI"
      ],
      "sources" : [
        "Error.swift",
        "Scanner+Swift.swift",
        "parseINI().swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.