The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Server, reference master (77d54e), with Swift 6.1 for macOS (SPM) on 16 Oct 2026 16:14:25 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bteapot/Server.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bteapot/Server
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 77d54eb В `Config`: - `ChallengeHandler` теперь получает каллбэк вместо прямого возврата результата. - Добавлена обработка редиректов, `RedirectHandler`.
Cloned https://github.com/bteapot/Server.git
Revision (git rev-parse @):
77d54eb98b48b7e9a2058a1c29fb333b38236f9a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bteapot/Server.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bteapot/Server.git
https://github.com/bteapot/Server.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "Server",
  "name" : "Server",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Server",
      "targets" : [
        "Server"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Server",
      "module_type" : "SwiftTarget",
      "name" : "Server",
      "path" : "Sources/Server",
      "product_memberships" : [
        "Server"
      ],
      "sources" : [
        "Catcher.swift",
        "Config.swift",
        "Delegate.swift",
        "Errors.swift",
        "Method.swift",
        "Reachable.swift",
        "Send.swift",
        "Server.swift",
        "Take.swift",
        "Tools.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling Server Method.swift
[4/12] Compiling Server Take.swift
/Users/admin/builder/spi-builder-workspace/Sources/Server/Take.swift:45:48: error: cannot find type 'SendableMetatype' in scope
 43 |         /// - Parameters:
 44 |         ///   - type: Expected `Decodable` type.
 45 |         public static func json<T: Decodable & SendableMetatype>(_ type: T.Type) -> Take<T> {
    |                                                `- error: cannot find type 'SendableMetatype' in scope
 46 |             .init(
 47 |                 mimeType: "application/json",
/Users/admin/builder/spi-builder-workspace/Sources/Server/Take.swift:48:72: error: instance method 'decode(_:from:)' requires that 'T' conform to 'Decodable'
 46 |             .init(
 47 |                 mimeType: "application/json",
 48 |                 decode: { config, data, response in try config.decoder.decode(T.self, from: data) }
    |                                                                        `- error: instance method 'decode(_:from:)' requires that 'T' conform to 'Decodable'
 49 |             )
 50 |         }
Foundation.JSONDecoder.decode:2:11: note: where 'T' = 'T'
1 | class JSONDecoder {
2 | open func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable}
  |           `- note: where 'T' = 'T'
3 |
[5/13] Compiling Server Config.swift
[6/13] Compiling Server Tools.swift
[7/13] Compiling Server Errors.swift
[8/13] Compiling Server Server.swift
[9/13] Compiling Server Send.swift
[10/13] Compiling Server Delegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Compiling Server Catcher.swift
[12/13] Compiling Server Reachable.swift
[13/13] Emitting module Server
/Users/admin/builder/spi-builder-workspace/Sources/Server/Take.swift:45:48: error: cannot find type 'SendableMetatype' in scope
 43 |         /// - Parameters:
 44 |         ///   - type: Expected `Decodable` type.
 45 |         public static func json<T: Decodable & SendableMetatype>(_ type: T.Type) -> Take<T> {
    |                                                `- error: cannot find type 'SendableMetatype' in scope
 46 |             .init(
 47 |                 mimeType: "application/json",
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling Server Method.swift
[3/12] Compiling Server Delegate.swift
[4/12] Compiling Server Reachable.swift
[5/12] Compiling Server Take.swift
/Users/admin/builder/spi-builder-workspace/Sources/Server/Take.swift:45:48: error: cannot find type 'SendableMetatype' in scope
 43 |         /// - Parameters:
 44 |         ///   - type: Expected `Decodable` type.
 45 |         public static func json<T: Decodable & SendableMetatype>(_ type: T.Type) -> Take<T> {
    |                                                `- error: cannot find type 'SendableMetatype' in scope
 46 |             .init(
 47 |                 mimeType: "application/json",
/Users/admin/builder/spi-builder-workspace/Sources/Server/Take.swift:48:72: error: instance method 'decode(_:from:)' requires that 'T' conform to 'Decodable'
 46 |             .init(
 47 |                 mimeType: "application/json",
 48 |                 decode: { config, data, response in try config.decoder.decode(T.self, from: data) }
    |                                                                        `- error: instance method 'decode(_:from:)' requires that 'T' conform to 'Decodable'
 49 |             )
 50 |         }
Foundation.JSONDecoder.decode:2:11: note: where 'T' = 'T'
1 | class JSONDecoder {
2 | open func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable}
  |           `- note: where 'T' = 'T'
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Compiling Server Catcher.swift
[7/12] Compiling Server Config.swift
[8/12] Emitting module Server
/Users/admin/builder/spi-builder-workspace/Sources/Server/Take.swift:45:48: error: cannot find type 'SendableMetatype' in scope
 43 |         /// - Parameters:
 44 |         ///   - type: Expected `Decodable` type.
 45 |         public static func json<T: Decodable & SendableMetatype>(_ type: T.Type) -> Take<T> {
    |                                                `- error: cannot find type 'SendableMetatype' in scope
 46 |             .init(
 47 |                 mimeType: "application/json",
[9/12] Compiling Server Errors.swift
[10/12] Compiling Server Send.swift
[11/12] Compiling Server Server.swift
[12/12] Compiling Server Tools.swift
BUILD FAILURE 6.1 macosSpm