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 Sodium, reference master (1d51e8), with Swift 6.0 for visionOS using Xcode 16.0 on 4 Nov 2024 02:17:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Sodium-Package -destination generic/platform=xrOS 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/aidantwoods/swift-sodium.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aidantwoods/swift-sodium
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1d51e8e Add sodium.version
Cloned https://github.com/aidantwoods/swift-sodium.git
Revision (git rev-parse @):
1d51e8eb8a99638166aea863e7a71d568b5a06e6
SUCCESS checkout https://github.com/aidantwoods/swift-sodium.git at master
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/aidantwoods/swift-sodium.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
resolved source packages:
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sodium",
  "name" : "Sodium",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Clibsodium",
      "targets" : [
        "Clibsodium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sodium",
      "targets" : [
        "Sodium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SodiumTests",
      "module_type" : "SwiftTarget",
      "name" : "SodiumTests",
      "path" : "Tests/SodiumTests",
      "sources" : [
        "ReadmeTests.swift",
        "SodiumTests.swift"
      ],
      "target_dependencies" : [
        "Sodium"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sodium",
      "module_type" : "SwiftTarget",
      "name" : "Sodium",
      "path" : "Sodium",
      "product_memberships" : [
        "Sodium"
      ],
      "sources" : [
        "Aead.swift",
        "Auth.swift",
        "Box.swift",
        "Bytes.swift",
        "ExitCode.swift",
        "Generators/KeyPairGenerator.swift",
        "Generators/KeyPairProtocol.swift",
        "Generators/NonceGenerator.swift",
        "Generators/SecretKeyGenerator.swift",
        "GenericHash.swift",
        "KeyDerivation.swift",
        "KeyExchange.swift",
        "PWHash.swift",
        "RandomBytes.swift",
        "SecretBox.swift",
        "SecretStream.swift",
        "ShortHash.swift",
        "Sign.swift",
        "Sodium.swift",
        "Stream.swift",
        "Utils.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "Clibsodium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibsodium",
      "module_type" : "BinaryTarget",
      "name" : "Clibsodium",
      "path" : "Clibsodium.xcframework",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "Sodium",
    "schemes" : [
      "Example iOS",
      "Example OSX",
      "Example tvOS",
      "Example Watch",
      "Sodium",
      "Sodium_iOS",
      "Sodium_OSX",
      "Sodium_tvOS",
      "Sodium_watchOS"
    ],
    "targets" : [
      "Sodium_iOS",
      "SodiumTests",
      "Sodium_OSX",
      "Sodium_watchOS",
      "Sodium_tvOS",
      "Example iOS",
      "Example OSX",
      "Example Watch",
      "Example Watch Extension",
      "Example tvOS"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Clibsodium",
      "Sodium",
      "Sodium-Package"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Sodium-Package -destination generic/platform=xrOS 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 Sodium-Package -destination generic/platform=xrOS "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:
  Sodium: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium' (no dependencies)
    Target 'Clibsodium' in project 'Sodium' (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/XROS.platform/Developer/SDKs/XROS2.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
Build description signature: da32febfc2186bdd697784cba7839a97
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/da32febfc2186bdd697784cba7839a97.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework'. (in target 'Clibsodium' from project 'Sodium')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Sodium-Package
(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 Sodium-Package -destination generic/platform=xrOS "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:
  Sodium: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium' (no dependencies)
    Target 'Clibsodium' in project 'Sodium' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework'. (in target 'Clibsodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Sodium-Package
(1 failure)
BUILD FAILURE 6.0 visionOS