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 PINCache, reference master (2fb859), with Swift 6.0 for watchOS using Xcode 16.2 on 1 Dec 2024 01:58:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PINCache -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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pinterest/PINCache.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pinterest/PINCache
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2fb8594 Cut 3.0.4 release #changelog (#331)
Cloned https://github.com/pinterest/PINCache.git
Revision (git rev-parse @):
2fb85948463292c2e824148cf17dc62a4c217a94
SUCCESS checkout https://github.com/pinterest/PINCache.git at master
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pinterest/PINCache.git
{
  "dependencies" : [
    {
      "identity" : "pinoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pinterest/PINOperation.git"
    }
  ],
  "manifest_display_name" : "PINCache",
  "name" : "PINCache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "PINCache",
      "targets" : [
        "PINCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PINCacheTests",
      "module_type" : "ClangTarget",
      "name" : "PINCacheTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Default-568h@2x.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "NSDate+PINCacheTests.m",
        "PINCacheTests.m",
        "PINDiskCache+PINCacheTests.m"
      ],
      "target_dependencies" : [
        "PINCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PINCache",
      "module_type" : "ClangTarget",
      "name" : "PINCache",
      "path" : "Source",
      "product_dependencies" : [
        "PINOperation"
      ],
      "product_memberships" : [
        "PINCache"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "PINCache.m",
        "PINDiskCache.m",
        "PINMemoryCache.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
resolved source packages:
{
  "dependencies" : [
    {
      "identity" : "pinoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pinterest/PINOperation.git"
    }
  ],
  "manifest_display_name" : "PINCache",
  "name" : "PINCache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "PINCache",
      "targets" : [
        "PINCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PINCacheTests",
      "module_type" : "ClangTarget",
      "name" : "PINCacheTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Default-568h@2x.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "NSDate+PINCacheTests.m",
        "PINCacheTests.m",
        "PINDiskCache+PINCacheTests.m"
      ],
      "target_dependencies" : [
        "PINCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PINCache",
      "module_type" : "ClangTarget",
      "name" : "PINCache",
      "path" : "Source",
      "product_dependencies" : [
        "PINOperation"
      ],
      "product_memberships" : [
        "PINCache"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "PINCache.m",
        "PINDiskCache.m",
        "PINMemoryCache.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "PINCache",
    "schemes" : [
      "PINCache",
      "PINCache-macOS",
      "PINCache-tvOS",
      "PINCache-visionOS",
      "PINCache-watchOS",
      "PINCache-watchOSTests"
    ],
    "targets" : [
      "PINCache",
      "PINCacheTests",
      "PINCache-tvOS",
      "PINCache-tvOSTests",
      "PINCache-macOS",
      "PINCache-macOSTests",
      "PINCache-visionOS",
      "PINCache-visionOSTests",
      "PINCache-watchOS",
      "PINCache-watchOSTests"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "PINCache"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PINCache -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 PINCache -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:
  PINOperation: https://github.com/pinterest/PINOperation.git @ 1.2.3
  PINCache: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINCache_PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINOperation' in project 'PINOperation'
    Target 'PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINCache_PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINOperation' in project 'PINOperation'
    Target 'PINOperation' in project 'PINOperation'
        ➜ Explicit dependency on target 'PINOperation' in project 'PINOperation'
        ➜ Explicit dependency on target 'PINOperation_PINOperation' in project 'PINOperation'
    Target 'PINOperation' in project 'PINOperation'
        ➜ Explicit dependency on target 'PINOperation_PINOperation' in project 'PINOperation'
    Target 'PINOperation_PINOperation' in project 'PINOperation' (no dependencies)
    Target 'PINCache_PINCache' in project 'PINCache' (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/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -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/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -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/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
Build description signature: 43d07eccbc03c8f30341e21f29da42a1
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/43d07eccbc03c8f30341e21f29da42a1.xcbuilddata
error: The package product 'PINOperation' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'PINCache' from project 'PINCache')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PINCache
(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 PINCache -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:
  PINCache: /Users/admin/builder/spi-builder-workspace
  PINOperation: https://github.com/pinterest/PINOperation.git @ 1.2.3
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINCache_PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINOperation' in project 'PINOperation'
    Target 'PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINCache_PINCache' in project 'PINCache'
        ➜ Explicit dependency on target 'PINOperation' in project 'PINOperation'
    Target 'PINOperation' in project 'PINOperation'
        ➜ Explicit dependency on target 'PINOperation' in project 'PINOperation'
        ➜ Explicit dependency on target 'PINOperation_PINOperation' in project 'PINOperation'
    Target 'PINOperation' in project 'PINOperation'
        ➜ Explicit dependency on target 'PINOperation_PINOperation' in project 'PINOperation'
    Target 'PINOperation_PINOperation' in project 'PINOperation' (no dependencies)
    Target 'PINCache_PINCache' in project 'PINCache' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'PINOperation' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'PINCache' from project 'PINCache')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PINCache
(1 failure)
BUILD FAILURE 6.0 watchOS