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 SimpleNetworking, reference master (bd2bd4), with Swift 6.0 for watchOS using Xcode 16.2 on 27 Nov 2024 11:52:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SimpleNetworking -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/SimpleNetworking.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalezreal/SimpleNetworking
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bd2bd41 Update README
Cloned https://github.com/gonzalezreal/SimpleNetworking.git
Revision (git rev-parse @):
bd2bd41ab92d83a0de1991c4b10d5f182fafee2f
SUCCESS checkout https://github.com/gonzalezreal/SimpleNetworking.git at master
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/gonzalezreal/SimpleNetworking.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/apple/swift-log
Creating working copy of package ‘swift-log’
Checking out 1.6.2 of package ‘swift-log’
Resolve Package Graph
Resolved source packages:
  swift-log: https://github.com/apple/swift-log @ 1.6.2
  SimpleNetworking: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-log, SimpleNetworking
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "SimpleNetworking",
  "name" : "SimpleNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "SimpleNetworking",
      "targets" : [
        "SimpleNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworkingTests",
      "path" : "Tests/SimpleNetworkingTests",
      "sources" : [
        "APIClientTest.swift",
        "APIRequestTest.swift",
        "Fixtures.swift",
        "HTTPURLResponseAdditionsTest.swift",
        "URLRequestAdditionsTest.swift"
      ],
      "target_dependencies" : [
        "SimpleNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimpleNetworking",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworking",
      "path" : "Sources/SimpleNetworking",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SimpleNetworking"
      ],
      "sources" : [
        "APIClient.swift",
        "APIClientConfiguration.swift",
        "APIClientError.swift",
        "APIError.swift",
        "APIRequest+Convenience.swift",
        "APIRequest.swift",
        "ContentType.swift",
        "Data+LogDescription.swift",
        "Dictionary+LogDescription.swift",
        "HTTPStubProtocol.swift",
        "HTTPURLResponse+Logging.swift",
        "HeaderField.swift",
        "Internal/Exports.swift",
        "URLRequest+APIRequest.swift",
        "URLSession+Stubbed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SimpleNetworking"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SimpleNetworking -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
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 SimpleNetworking -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  SimpleNetworking: /Users/admin/builder/spi-builder-workspace
  swift-log: https://github.com/apple/swift-log @ 1.6.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'SimpleNetworking' in project 'SimpleNetworking'
        ➜ Explicit dependency on target 'SimpleNetworking' in project 'SimpleNetworking'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'SimpleNetworking' in project 'SimpleNetworking'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
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/ld -version_details
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 21b94c21d5f94486ccfc36365d4c2be3
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/21b94c21d5f94486ccfc36365d4c2be3.xcbuilddata
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SimpleNetworking' from project 'SimpleNetworking')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SimpleNetworking
(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 SimpleNetworking -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
  swift-log: https://github.com/apple/swift-log @ 1.6.2
  SimpleNetworking: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'SimpleNetworking' in project 'SimpleNetworking'
        ➜ Explicit dependency on target 'SimpleNetworking' in project 'SimpleNetworking'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'SimpleNetworking' in project 'SimpleNetworking'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SimpleNetworking' from project 'SimpleNetworking')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SimpleNetworking
(1 failure)
BUILD FAILURE 6.0 watchOS