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 NetworkInterfaceInfo, reference main (cd5a77), with Swift 6.0 for Linux on 5 Nov 2024 02:20:54 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Reference: main
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/wadetregaskis/NetworkInterfaceInfo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd5a774 Upgraded to swift-actions/setup-swift/v2.
Cloned https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Revision (git rev-parse @):
cd5a7740f84eb707496431cd49e1f5ff23024a32
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkInterfaceInfo.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/357] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.19s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.36s)
Creating working copy for https://github.com/wadetregaskis/FoundationExtensions.git
Working copy of https://github.com/wadetregaskis/FoundationExtensions.git resolved at 3.5.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/17] Compiling FoundationExtensions Optional.swift
[6/18] Compiling FoundationExtensions Float.swift
[7/18] Compiling FoundationExtensions IteratorProtocol.swift
[8/18] Compiling FoundationExtensions Locale.swift
[9/18] Compiling FoundationExtensions StringProtocol.swift
[10/18] Compiling FoundationExtensions Date.swift
[11/18] Compiling FoundationExtensions Double.swift
[12/18] Compiling FoundationExtensions BinaryInteger.swift
[13/18] Compiling FoundationExtensions CollectionOfUInt8.swift
[14/18] Compiling FoundationExtensions AsyncSequence.swift
[15/18] Compiling FoundationExtensions BidirectionalCollection.swift
[16/18] Emitting module FoundationExtensions
[17/18] Compiling FoundationExtensions Comparable.swift
[18/18] Compiling FoundationExtensions Data.swift
[20/24] Compiling NetworkInterfaceInfo Metrics.swift
[21/24] Compiling NetworkInterfaceInfo NetworkAddress.swift
[22/24] Compiling NetworkInterfaceInfo NetworkInterface.swift
[23/24] Compiling NetworkInterfaceInfo IPv4Address.swift
[24/24] Emitting module NetworkInterfaceInfo
[26/27] Emitting module NetworkInterfaceChangeMonitoring
/host/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:2:10: warning: NetworkInterfaceChangeMonitoring requires the Network module, which is not available (it is a propertiary Apple module only available on Apple platforms, not Linux or Windows).
  1 | #if !canImport(Network)
  2 | #warning("NetworkInterfaceChangeMonitoring requires the Network module, which is not available (it is a propertiary Apple module only available on Apple platforms, not Linux or Windows).")
    |          `- warning: NetworkInterfaceChangeMonitoring requires the Network module, which is not available (it is a propertiary Apple module only available on Apple platforms, not Linux or Windows).
  3 | #else
  4 |
[27/27] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
/host/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:2:10: warning: NetworkInterfaceChangeMonitoring requires the Network module, which is not available (it is a propertiary Apple module only available on Apple platforms, not Linux or Windows).
  1 | #if !canImport(Network)
  2 | #warning("NetworkInterfaceChangeMonitoring requires the Network module, which is not available (it is a propertiary Apple module only available on Apple platforms, not Linux or Windows).")
    |          `- warning: NetworkInterfaceChangeMonitoring requires the Network module, which is not available (it is a propertiary Apple module only available on Apple platforms, not Linux or Windows).
  3 | #else
  4 |
Build complete! (11.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "foundationextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wadetregaskis/FoundationExtensions.git"
    }
  ],
  "manifest_display_name" : "NetworkInterfaceInfo",
  "name" : "NetworkInterfaceInfo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkInterfaceInfo",
      "targets" : [
        "NetworkInterfaceInfo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetworkInterfaceChangeMonitoring",
      "targets" : [
        "NetworkInterfaceChangeMonitoring"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkInterfaceInfoTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkInterfaceInfoTests",
      "path" : "Tests/NetworkInterfaceInfoTests",
      "sources" : [
        "NetworkInterfaceInfoTests.swift"
      ],
      "target_dependencies" : [
        "NetworkInterfaceInfo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkInterfaceInfo",
      "module_type" : "SwiftTarget",
      "name" : "NetworkInterfaceInfo",
      "path" : "Sources/NetworkInterfaceInfo",
      "product_dependencies" : [
        "FoundationExtensions"
      ],
      "product_memberships" : [
        "NetworkInterfaceInfo",
        "NetworkInterfaceChangeMonitoring"
      ],
      "sources" : [
        "IPv4Address.swift",
        "Metrics.swift",
        "NetworkAddress.swift",
        "NetworkInterface.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NetworkInterfaceChangeMonitoringTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkInterfaceChangeMonitoringTests",
      "path" : "Tests/NetworkInterfaceChangeMonitoringTests",
      "sources" : [
        "NetworkInterfaceChangeMonitoringTests.swift"
      ],
      "target_dependencies" : [
        "NetworkInterfaceChangeMonitoring"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkInterfaceChangeMonitoring",
      "module_type" : "SwiftTarget",
      "name" : "NetworkInterfaceChangeMonitoring",
      "path" : "Sources/NetworkInterfaceChangeMonitoring",
      "product_dependencies" : [
        "FoundationExtensions"
      ],
      "product_memberships" : [
        "NetworkInterfaceChangeMonitoring"
      ],
      "sources" : [
        "NetworkInterfaceChangeMonitoring.swift"
      ],
      "target_dependencies" : [
        "NetworkInterfaceInfo"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.