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 SwiftNetrc, reference v1.0.1 (351c16), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 14:29:06 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/ggruen/swiftnetrc.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ggruen/swiftnetrc
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 351c165 Add badges to README
Cloned https://github.com/ggruen/swiftnetrc.git
Revision (git rev-parse @):
351c16590c03db00ad932409807321ddc2e02a85
SUCCESS checkout https://github.com/ggruen/swiftnetrc.git at v1.0.1
========================================
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": "swiftnetrc",
      "name": "SwiftNetrc",
      "url": "https://github.com/ggruen/swiftnetrc.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftnetrc",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ggruen/swiftnetrc.git
[1/112] Fetching swiftnetrc
Fetched https://github.com/ggruen/swiftnetrc.git from cache (0.65s)
Creating working copy for https://github.com/ggruen/swiftnetrc.git
Working copy of https://github.com/ggruen/swiftnetrc.git resolved at v1.0.1 (351c165)
warning: '.resolve-product-dependencies': dependency 'swiftnetrc' 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/ggruen/swiftnetrc.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/7] Write sources
[2/7] Write SwiftNetrc-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/9] Emitting module SwiftNetrcCore
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:25:14: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 23 |
 24 |     /// The URL to the .netrc file. Defaults to ~/.netrc
 25 |     open var netrcFile: URL = getDefaultNetrc()
    |              `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 26 |
 27 |     /// Return a URL to ~/.netrc using method appropriate for the OS
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:28:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 26 |
 27 |     /// Return a URL to ~/.netrc using method appropriate for the OS
 28 |     open static func getDefaultNetrc() -> URL {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 29 |         if #available(OSX 10.12, *) {
 30 |             // This *might* return the user's home directory regardless of sandboxing?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:69:15: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 67 |
 68 |     /// Reads the contents of .netrc into `machines`
 69 |     open func load() throws {
    |               `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 70 |         let attributes = try FileManager.default.attributesOfItem(atPath: netrcFile.path)
 71 |         // .netrc must be read and/or write for user only, so 600 or 400 are ok, nothing else.
[6/9] Compiling SwiftNetrcCore SwiftNetrc.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:25:14: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 23 |
 24 |     /// The URL to the .netrc file. Defaults to ~/.netrc
 25 |     open var netrcFile: URL = getDefaultNetrc()
    |              `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 26 |
 27 |     /// Return a URL to ~/.netrc using method appropriate for the OS
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:28:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 26 |
 27 |     /// Return a URL to ~/.netrc using method appropriate for the OS
 28 |     open static func getDefaultNetrc() -> URL {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 29 |         if #available(OSX 10.12, *) {
 30 |             // This *might* return the user's home directory regardless of sandboxing?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:69:15: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 67 |
 68 |     /// Reads the contents of .netrc into `machines`
 69 |     open func load() throws {
    |               `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 70 |         let attributes = try FileManager.default.attributesOfItem(atPath: netrcFile.path)
 71 |         // .netrc must be read and/or write for user only, so 600 or 400 are ok, nothing else.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:99:13: warning: variable 'tokens' was never mutated; consider changing to 'let' constant
 97 |         let tokenContent = content
 98 |
 99 |         var tokens = tokenContent.trimmingCharacters(in: .whitespacesAndNewlines)
    |             `- warning: variable 'tokens' was never mutated; consider changing to 'let' constant
100 |             .components(separatedBy: .whitespacesAndNewlines)
101 |
[7/11] Emitting module SwiftNetrc
[8/11] Compiling SwiftNetrc main.swift
[8/11] Write Objects.LinkFileList
[9/11] Linking SwiftNetrc
[10/11] Applying SwiftNetrc
Build complete! (6.62s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftNetrc",
  "name" : "SwiftNetrc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftNetrc",
      "targets" : [
        "SwiftNetrc"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNetrcTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetrcTests",
      "path" : "Tests/SwiftNetrcTests",
      "sources" : [
        "SwiftNetrcTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNetrcCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNetrcCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetrcCore",
      "path" : "Sources/SwiftNetrcCore",
      "product_memberships" : [
        "SwiftNetrc"
      ],
      "sources" : [
        "SwiftNetrc.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftNetrc",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetrc",
      "path" : "Sources/SwiftNetrc",
      "product_memberships" : [
        "SwiftNetrc"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftNetrcCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Done.