This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 (beta) for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ggruen/swiftnetrc.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ggruen/swiftnetrc
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 220759e Remove failing linux update/upgrade command from travis build config.
Cloned https://github.com/ggruen/swiftnetrc.git
Revision (git rev-parse @):
220759e4f894221accf3500efde3d03df8c0b0b5
SUCCESS checkout https://github.com/ggruen/swiftnetrc.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ggruen/swiftnetrc.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[5/9] Compiling SwiftNetrcCore SwiftNetrc.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:28:14: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 26 |
 27 |     /// The URL to the .netrc file. Defaults to ~/.netrc
 28 |     open var netrcFile: URL = getDefaultNetrc()
    |              `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 29 |
 30 |     /// Return a URL to ~/.netrc using method appropriate for the OS
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:31:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 29 |
 30 |     /// Return a URL to ~/.netrc using method appropriate for the OS
 31 |     open static func getDefaultNetrc() -> URL {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 32 |         if #available(OSX 10.12, *) {
 33 |             // This *might* return the user's home directory regardless of sandboxing?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:72:15: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 70 |
 71 |     /// Reads the contents of .netrc into `machines`
 72 |     open func load() throws {
    |               `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 73 |         let attributes = try FileManager.default.attributesOfItem(atPath: netrcFile.path)
 74 |         // .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:105:13: warning: variable 'tokens' was never mutated; consider changing to 'let' constant
103 |         let tokenContent = content
104 |
105 |         var tokens = tokenContent.trimmingCharacters(in: .whitespacesAndNewlines)
    |             `- warning: variable 'tokens' was never mutated; consider changing to 'let' constant
106 |             .components(separatedBy: .whitespacesAndNewlines)
107 |
[6/9] Emitting module SwiftNetrcCore
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:28:14: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 26 |
 27 |     /// The URL to the .netrc file. Defaults to ~/.netrc
 28 |     open var netrcFile: URL = getDefaultNetrc()
    |              `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 29 |
 30 |     /// Return a URL to ~/.netrc using method appropriate for the OS
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:31:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 29 |
 30 |     /// Return a URL to ~/.netrc using method appropriate for the OS
 31 |     open static func getDefaultNetrc() -> URL {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 32 |         if #available(OSX 10.12, *) {
 33 |             // This *might* return the user's home directory regardless of sandboxing?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetrcCore/SwiftNetrc.swift:72:15: warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 70 |
 71 |     /// Reads the contents of .netrc into `machines`
 72 |     open func load() throws {
    |               `- warning: members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
 73 |         let attributes = try FileManager.default.attributesOfItem(atPath: netrcFile.path)
 74 |         // .netrc must be read and/or write for user only, so 600 or 400 are ok, nothing else.
[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! (19.71s)
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
      }
    },
    {
      "name" : "SwiftNetrcCore",
      "targets" : [
        "SwiftNetrcCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "3",
    "4"
  ],
  "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",
        "SwiftNetrcCore"
      ],
      "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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.