The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftNetrc, reference 1.0.1 (18cb09), with Swift 6.0 for Linux on 4 May 2026 10:10:51 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ggruen/swiftnetrc.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ggruen/swiftnetrc
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 18cb096 Fix library and executable products in Package
Cloned https://github.com/ggruen/swiftnetrc.git
Revision (git rev-parse @):
18cb096b224adf7739ae3dac41f1a620e1276377
SUCCESS checkout https://github.com/ggruen/swiftnetrc.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ggruen/swiftnetrc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module SwiftNetrcCore
/host/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
/host/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?
/host/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.
[5/9] Compiling SwiftNetrcCore SwiftNetrc.swift
/host/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
/host/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?
/host/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.
/host/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/10] Wrapping AST for SwiftNetrcCore for debugging
[8/12] Emitting module SwiftNetrc
[9/12] Compiling SwiftNetrc main.swift
[10/13] Wrapping AST for SwiftNetrc for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking SwiftNetrc
Build complete! (54.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftNetrc",
  "name" : "SwiftNetrc",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.