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 PacketCaptureLibpcap, reference 0.2.3 (06e86e), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 1 Nov 2024 12:30:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PacketCaptureLibpcap -destination platform=macOS,arch=arm64 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/PacketCaptureLibpcap.git
Reference: 0.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/PacketCaptureLibpcap
 * tag               0.2.3      -> FETCH_HEAD
HEAD is now at 06e86e6 Updated SwiftPCAP dependency
Cloned https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Revision (git rev-parse @):
06e86e63b343eef782cc94f635d6f65a273b15a5
SUCCESS checkout https://github.com/OperatorFoundation/PacketCaptureLibpcap.git at 0.2.3
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OperatorFoundation/PacketCaptureLibpcap.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/SwiftPCAP.git
Fetching from https://github.com/OperatorFoundation/PacketStream.git
Creating working copy of package ‘SwiftPCAP’
Checking out 1.3.1 of package ‘SwiftPCAP’
Creating working copy of package ‘PacketStream’
Checking out 0.2.1 of package ‘PacketStream’
Resolve Package Graph
Resolved source packages:
  PacketStream: https://github.com/OperatorFoundation/PacketStream.git @ 0.2.1
  SwiftPCAP: https://github.com/OperatorFoundation/SwiftPCAP.git @ 1.3.1
  PacketCaptureLibpcap: /Users/admin/builder/spi-builder-workspace
resolved source packages: PacketStream, SwiftPCAP, PacketCaptureLibpcap
{
  "dependencies" : [
    {
      "identity" : "packetstream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/PacketStream.git"
    },
    {
      "identity" : "swiftpcap",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/SwiftPCAP.git"
    }
  ],
  "manifest_display_name" : "PacketCaptureLibpcap",
  "name" : "PacketCaptureLibpcap",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "PacketCaptureLibpcap",
      "targets" : [
        "PacketCaptureLibpcap"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PacketCaptureLibpcapTests",
      "module_type" : "SwiftTarget",
      "name" : "PacketCaptureLibpcapTests",
      "path" : "Tests/PacketCaptureLibpcapTests",
      "sources" : [
        "PacketCaptureLibpcapTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PacketCaptureLibpcap"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PacketCaptureLibpcap",
      "module_type" : "SwiftTarget",
      "name" : "PacketCaptureLibpcap",
      "path" : "Sources/PacketCaptureLibpcap",
      "product_dependencies" : [
        "PacketStream",
        "SwiftPCAP"
      ],
      "product_memberships" : [
        "PacketCaptureLibpcap"
      ],
      "sources" : [
        "CaptureDevice.swift",
        "PcapFile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "PacketCaptureLibpcap"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PacketCaptureLibpcap -destination platform=macOS,arch=arm64 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 PacketCaptureLibpcap -destination platform=macOS,arch=arm64 "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:
  PacketStream: https://github.com/OperatorFoundation/PacketStream.git @ 0.2.1
  PacketCaptureLibpcap: /Users/admin/builder/spi-builder-workspace
  SwiftPCAP: https://github.com/OperatorFoundation/SwiftPCAP.git @ 1.3.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'PacketCaptureLibpcap' in project 'PacketCaptureLibpcap'
        ➜ Explicit dependency on target 'PacketCaptureLibpcap' in project 'PacketCaptureLibpcap'
        ➜ Explicit dependency on target 'PacketStream' in project 'PacketStream'
        ➜ Explicit dependency on target 'SwiftPCAP' in project 'SwiftPCAP'
    Target 'PacketCaptureLibpcap' in project 'PacketCaptureLibpcap'
        ➜ Explicit dependency on target 'PacketStream' in project 'PacketStream'
        ➜ Explicit dependency on target 'SwiftPCAP' in project 'SwiftPCAP'
    Target 'SwiftPCAP' in project 'SwiftPCAP'
        ➜ Explicit dependency on target 'SwiftPCAP' in project 'SwiftPCAP'
    Target 'SwiftPCAP' in project 'SwiftPCAP'
        ➜ Explicit dependency on target 'Clibpcap' in project 'SwiftPCAP'
    Target 'Clibpcap' in project 'SwiftPCAP' (no dependencies)
    Target 'PacketStream' in project 'PacketStream'
        ➜ Explicit dependency on target 'PacketStream' in project 'PacketStream'
    Target 'PacketStream' in project 'PacketStream' (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/MacOSX.platform/Developer/SDKs/MacOSX15.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: 75ce45712fd882bd2d6de78dba890b83
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/75ce45712fd882bd2d6de78dba890b83.xcbuilddata
error: The package product 'SwiftPCAP' requires minimum platform version 11.0 for the macOS platform, but this target supports 10.15 (in target 'PacketCaptureLibpcap' from project 'PacketCaptureLibpcap')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PacketCaptureLibpcap
(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 PacketCaptureLibpcap -destination platform=macOS,arch=arm64 "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:
  SwiftPCAP: https://github.com/OperatorFoundation/SwiftPCAP.git @ 1.3.1
  PacketStream: https://github.com/OperatorFoundation/PacketStream.git @ 0.2.1
  PacketCaptureLibpcap: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'PacketCaptureLibpcap' in project 'PacketCaptureLibpcap'
        ➜ Explicit dependency on target 'PacketCaptureLibpcap' in project 'PacketCaptureLibpcap'
        ➜ Explicit dependency on target 'PacketStream' in project 'PacketStream'
        ➜ Explicit dependency on target 'SwiftPCAP' in project 'SwiftPCAP'
    Target 'PacketCaptureLibpcap' in project 'PacketCaptureLibpcap'
        ➜ Explicit dependency on target 'PacketStream' in project 'PacketStream'
        ➜ Explicit dependency on target 'SwiftPCAP' in project 'SwiftPCAP'
    Target 'SwiftPCAP' in project 'SwiftPCAP'
        ➜ Explicit dependency on target 'SwiftPCAP' in project 'SwiftPCAP'
    Target 'SwiftPCAP' in project 'SwiftPCAP'
        ➜ Explicit dependency on target 'Clibpcap' in project 'SwiftPCAP'
    Target 'Clibpcap' in project 'SwiftPCAP' (no dependencies)
    Target 'PacketStream' in project 'PacketStream'
        ➜ Explicit dependency on target 'PacketStream' in project 'PacketStream'
    Target 'PacketStream' in project 'PacketStream' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SwiftPCAP' requires minimum platform version 11.0 for the macOS platform, but this target supports 10.15 (in target 'PacketCaptureLibpcap' from project 'PacketCaptureLibpcap')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PacketCaptureLibpcap
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild