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

Failed to build NetworkLinux, reference main (2c563f), with Swift 6.0 for iOS using Xcode 16.0 on 2 Nov 2024 06:33:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NetworkLinux -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/NetworkLinux.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/NetworkLinux
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2c563f2 made NWEndpoint Hashable
Cloned https://github.com/OperatorFoundation/NetworkLinux.git
Revision (git rev-parse @):
2c563f21fa59bb6c4cd5038f0dab812a65613918
SUCCESS checkout https://github.com/OperatorFoundation/NetworkLinux.git at main
========================================
Build
========================================
Selected platform:         iOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OperatorFoundation/NetworkLinux.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/OperatorFoundation/BlueSocket.git
Fetching from https://github.com/OperatorFoundation/SwiftHexTools.git
Fetching from https://github.com/apple/swift-argument-parser
Creating working copy of package ‘BlueSocket’
Checking out main (5a936a3) of package ‘BlueSocket’
Creating working copy of package ‘SwiftHexTools’
Checking out main (3d4b5a9) of package ‘SwiftHexTools’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.5.0 of package ‘swift-argument-parser’
Resolve Package Graph
Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.5.0
  SwiftHexTools: https://github.com/OperatorFoundation/SwiftHexTools.git @ main (3d4b5a9)
  Socket: https://github.com/OperatorFoundation/BlueSocket.git @ main (5a936a3)
  NetworkLinux: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-argument-parser, SwiftHexTools, Socket, NetworkLinux
{
  "dependencies" : [
    {
      "identity" : "bluesocket",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/BlueSocket.git"
    },
    {
      "identity" : "swifthextools",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/SwiftHexTools.git"
    }
  ],
  "manifest_display_name" : "NetworkLinux",
  "name" : "NetworkLinux",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "NetworkLinux",
      "targets" : [
        "NetworkLinux"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "NetworkLinuxTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLinuxTests",
      "path" : "Tests/NetworkLinuxTests",
      "sources" : [
        "NetworkLinuxTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NetworkLinux"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkLinux",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLinux",
      "path" : "Sources/NetworkLinux",
      "product_dependencies" : [
        "Socket",
        "SwiftHexTools"
      ],
      "product_memberships" : [
        "NetworkLinux"
      ],
      "sources" : [
        "IPv4Address.swift",
        "IPv6Address.swift",
        "NWConnection.swift",
        "NWEndpoint.swift",
        "NWError.swift",
        "NWInterface.swift",
        "NWListener.swift",
        "NWParameters.swift",
        "NWProtocol.swift",
        "NWProtocolDefinition.swift",
        "NWProtocolMetadata.swift",
        "NWProtocolOptions.swift",
        "NWProtocolTCP.swift",
        "NWProtocolTLS.swift",
        "NWProtocolUDP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NetworkLinux"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NetworkLinux -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NetworkLinux -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  NetworkLinux: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.5.0
  SwiftHexTools: https://github.com/OperatorFoundation/SwiftHexTools.git @ main (3d4b5a9)
  Socket: https://github.com/OperatorFoundation/BlueSocket.git @ main (5a936a3)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'NetworkLinux' in project 'NetworkLinux'
        ➜ Explicit dependency on target 'NetworkLinux' in project 'NetworkLinux'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'SwiftHexTools' in project 'SwiftHexTools'
    Target 'NetworkLinux' in project 'NetworkLinux'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'SwiftHexTools' in project 'SwiftHexTools'
    Target 'SwiftHexTools' in project 'SwiftHexTools'
        ➜ Explicit dependency on target 'SwiftHexTools' in project 'SwiftHexTools'
    Target 'SwiftHexTools' in project 'SwiftHexTools' (no dependencies)
    Target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
    Target 'Socket' in project 'Socket' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 7dd28eee0c4eed189ee0829f176bd20f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/7dd28eee0c4eed189ee0829f176bd20f.xcbuilddata
error: The package product 'SwiftHexTools' requires minimum platform version 14.0 for the iOS platform, but this target supports 12.0 (in target 'NetworkLinux' from project 'NetworkLinux')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme NetworkLinux
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NetworkLinux -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  SwiftHexTools: https://github.com/OperatorFoundation/SwiftHexTools.git @ main (3d4b5a9)
  NetworkLinux: /Users/admin/builder/spi-builder-workspace
  Socket: https://github.com/OperatorFoundation/BlueSocket.git @ main (5a936a3)
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.5.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'NetworkLinux' in project 'NetworkLinux'
        ➜ Explicit dependency on target 'NetworkLinux' in project 'NetworkLinux'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'SwiftHexTools' in project 'SwiftHexTools'
    Target 'NetworkLinux' in project 'NetworkLinux'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'SwiftHexTools' in project 'SwiftHexTools'
    Target 'SwiftHexTools' in project 'SwiftHexTools'
        ➜ Explicit dependency on target 'SwiftHexTools' in project 'SwiftHexTools'
    Target 'SwiftHexTools' in project 'SwiftHexTools' (no dependencies)
    Target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
    Target 'Socket' in project 'Socket' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SwiftHexTools' requires minimum platform version 14.0 for the iOS platform, but this target supports 12.0 (in target 'NetworkLinux' from project 'NetworkLinux')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme NetworkLinux
(1 failure)
BUILD FAILURE 6.0 iOS