The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftLibrary, reference master (a21af6), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 21:38:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/SwiftLibrary.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/SwiftLibrary
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a21af6b Support new version specific metadata
Cloned https://github.com/kiliankoe/SwiftLibrary.git
Revision (git rev-parse @):
a21af6b730768e1032068c98bcabc35488f5662d
SUCCESS checkout https://github.com/kiliankoe/SwiftLibrary.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftlibrary",
      "name": "SwiftLibrary",
      "url": "https://github.com/kiliankoe/SwiftLibrary.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLibrary",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/SwiftLibrary.git
[1/1429] Fetching swiftlibrary
Fetched https://github.com/kiliankoe/SwiftLibrary.git from cache (0.96s)
Creating working copy for https://github.com/kiliankoe/SwiftLibrary.git
Working copy of https://github.com/kiliankoe/SwiftLibrary.git resolved at master (a21af6b)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kiliankoe/SwiftLibrary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[0/7] Write swift-library-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/12] Compiling SwiftLibrary Requirement.swift
[6/12] Compiling SwiftLibrary SwiftLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLibrary/SwiftLibrary.swift:9:17: warning: capture of 'completion' with non-sendable type '(Result<[PackageData], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 |         let task = session.dataTask(with: urlRequest(with: query)) { data, _, error in
 8 |             guard let data = data, error == nil else {
 9 |                 completion(.failure(error!))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<[PackageData], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
10 |                 return
11 |             }
[7/12] Compiling SwiftLibrary Command.swift
[8/12] Emitting module SwiftLibrary
[9/12] Compiling SwiftLibrary PackageData.swift
[10/15] Compiling swift_library main.swift
<unknown>:0: note: 'add(package:requirement:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/swift-library/main.swift:39:11: warning: enum case 'add' has 2 associated values; matching them as a tuple is deprecated
37 |     }
38 |     run(cmd: "/usr/bin/open", args: [package.url.absoluteString])
39 | case .add(let input):
   |           `- warning: enum case 'add' has 2 associated values; matching them as a tuple is deprecated
40 |     guard let package = firstPackage(query: input.package) else {
41 |         print("No package matching query found.")
[11/15] Compiling swift_library Util.swift
[12/15] Emitting module swift_library
<unknown>:0: note: 'add(package:requirement:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/swift-library/main.swift:39:11: warning: enum case 'add' has 2 associated values; matching them as a tuple is deprecated
37 |     }
38 |     run(cmd: "/usr/bin/open", args: [package.url.absoluteString])
39 | case .add(let input):
   |           `- warning: enum case 'add' has 2 associated values; matching them as a tuple is deprecated
40 |     guard let package = firstPackage(query: input.package) else {
41 |         print("No package matching query found.")
[12/15] Write Objects.LinkFileList
[13/15] Linking swift-library
[14/15] Applying swift-library
Build complete! (9.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftLibrary",
  "name" : "SwiftLibrary",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftLibrary",
      "targets" : [
        "SwiftLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-library",
      "targets" : [
        "swift-library"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_library",
      "module_type" : "SwiftTarget",
      "name" : "swift-library",
      "path" : "Sources/swift-library",
      "product_memberships" : [
        "swift-library"
      ],
      "sources" : [
        "Util.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftLibrary"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftLibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLibraryTests",
      "path" : "Tests/SwiftLibraryTests",
      "sources" : [
        "CommandTests.swift",
        "SwiftLibraryTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLibrary",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLibrary",
      "path" : "Sources/SwiftLibrary",
      "product_memberships" : [
        "SwiftLibrary",
        "swift-library"
      ],
      "sources" : [
        "Command.swift",
        "PackageData.swift",
        "Requirement.swift",
        "SwiftLibrary.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.