The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTPCookieSync, reference v1.2.0 (464810), with Swift 6.1 for macOS (SPM) on 29 Jun 2026 05:54:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dmytriigolovanov/http-cookie-sync-ios.git
Reference: v1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dmytriigolovanov/http-cookie-sync-ios
 * tag               v1.2.0     -> FETCH_HEAD
HEAD is now at 4648103 Setup for v1.2.0 (#22)
Cloned https://github.com/dmytriigolovanov/http-cookie-sync-ios.git
Revision (git rev-parse @):
464810335d7a8a2ba1b15acefa0a2323a6563048
SUCCESS checkout https://github.com/dmytriigolovanov/http-cookie-sync-ios.git at v1.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dmytriigolovanov/http-cookie-sync-ios.git
https://github.com/dmytriigolovanov/http-cookie-sync-ios.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HTTPCookieSync",
  "name" : "HTTPCookieSync",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTPCookieSync",
      "targets" : [
        "HTTPCookieSync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HTTPCookieSync",
      "module_type" : "SwiftTarget",
      "name" : "HTTPCookieSync",
      "path" : "HTTPCookieSync/Sources",
      "product_memberships" : [
        "HTTPCookieSync"
      ],
      "sources" : [
        "Extensions/DispatchQueue+HTTPCookieSync.swift",
        "Extensions/HTTPCookie+HTTPCookieSync.swift",
        "Extensions/HTTPCookiePropertyKey+HTTPCookieSync.swift",
        "Extensions/HTTPCookieStorage+HTTPCookieSync.swift",
        "Extensions/WKHTTPCookieStore+HTTPCookieSync.swift",
        "HTTPCookieSyncCore.swift",
        "HTTPCookieSyncableStorage.swift",
        "HTTPCookieSyncer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Compiling HTTPCookieSync DispatchQueue+HTTPCookieSync.swift
[4/11] Emitting module HTTPCookieSync
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:13:17: warning: main actor-isolated instance method 'deleteCookie(_:completionHandler:)' cannot be used to satisfy nonisolated requirement from protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   |                              `- note: add '@preconcurrency' to the 'HTTPCookieSyncableStorage' conformance to defer isolation checking to run time
13 |     public func deleteCookie(
   |                 |- warning: main actor-isolated instance method 'deleteCookie(_:completionHandler:)' cannot be used to satisfy nonisolated requirement from protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'deleteCookie(_:completionHandler:)' to make this instance method not isolated to the actor
14 |         _ cookie: HTTPCookie,
15 |         completionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:24:10: note: mark the protocol requirement 'deleteCookie(_:completionHandler:)' 'async' to allow actor-isolated conformances
22 |     )
23 |
24 |     func deleteCookie(
   |          `- note: mark the protocol requirement 'deleteCookie(_:completionHandler:)' 'async' to allow actor-isolated conformances
25 |         _ cookie: HTTPCookie,
26 |         completionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:12:1: error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   | |- error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
   | `- note: add stubs for conformance
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
WebKit.WKHTTPCookieStore.getAllCookies:2:11: note: candidate has non-matching type '(@escaping @MainActor @Sendable ([HTTPCookie]) -> Void) -> Void'
1 | class WKHTTPCookieStore {
2 | open func getAllCookies(_ completionHandler: @escaping @MainActor @Sendable ([HTTPCookie]) -> Void)}
  |           `- note: candidate has non-matching type '(@escaping @MainActor @Sendable ([HTTPCookie]) -> Void) -> Void'
3 |
WebKit.WKHTTPCookieStore.setCookie:2:11: note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
1 | class WKHTTPCookieStore {
2 | open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
  |           `- note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
3 |
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:15:10: note: protocol requires function 'getAllCookies' with type '(@escaping ([HTTPCookie]) -> Void) -> ()'
13 |
14 | public protocol HTTPCookieSyncableStorage {
15 |     func getAllCookies(
   |          `- note: protocol requires function 'getAllCookies' with type '(@escaping ([HTTPCookie]) -> Void) -> ()'
16 |         _ completionHandler: @escaping ([HTTPCookie]) -> Void
17 |     )
18 |
19 |     func setCookie(
   |          `- note: protocol requires function 'setCookie(_:completionHandler:)' with type '(HTTPCookie, (() -> Void)?) -> ()'
20 |         _ cookie: HTTPCookie,
21 |         completionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncer.swift:70:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |       - Returns: A new HTTPCookieSyncer instance with the default provided storages.
69 |     */
70 |     public static var `default`: HTTPCookieSyncer = {
   |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |         return HTTPCookieSyncer(
72 |             storages: [
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncer.swift:70:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
68 |       - Returns: A new HTTPCookieSyncer instance with the default provided storages.
69 |     */
70 |     public static var `default`: HTTPCookieSyncer = {
   |                       `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
71 |         return HTTPCookieSyncer(
72 |             storages: [
[5/11] Compiling HTTPCookieSync HTTPCookieSyncableStorage.swift
[6/11] Compiling HTTPCookieSync HTTPCookieSyncCore.swift
[7/11] Compiling HTTPCookieSync HTTPCookieStorage+HTTPCookieSync.swift
[8/11] Compiling HTTPCookieSync HTTPCookiePropertyKey+HTTPCookieSync.swift
[9/11] Compiling HTTPCookieSync HTTPCookieSyncer.swift
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncer.swift:70:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |       - Returns: A new HTTPCookieSyncer instance with the default provided storages.
69 |     */
70 |     public static var `default`: HTTPCookieSyncer = {
   |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |         return HTTPCookieSyncer(
72 |             storages: [
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncer.swift:70:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
68 |       - Returns: A new HTTPCookieSyncer instance with the default provided storages.
69 |     */
70 |     public static var `default`: HTTPCookieSyncer = {
   |                       `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
71 |         return HTTPCookieSyncer(
72 |             storages: [
[10/11] Compiling HTTPCookieSync HTTPCookie+HTTPCookieSync.swift
[11/11] Compiling HTTPCookieSync WKHTTPCookieStore+HTTPCookieSync.swift
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:13:17: warning: main actor-isolated instance method 'deleteCookie(_:completionHandler:)' cannot be used to satisfy nonisolated requirement from protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   |                              `- note: add '@preconcurrency' to the 'HTTPCookieSyncableStorage' conformance to defer isolation checking to run time
13 |     public func deleteCookie(
   |                 |- warning: main actor-isolated instance method 'deleteCookie(_:completionHandler:)' cannot be used to satisfy nonisolated requirement from protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'deleteCookie(_:completionHandler:)' to make this instance method not isolated to the actor
14 |         _ cookie: HTTPCookie,
15 |         completionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:24:10: note: mark the protocol requirement 'deleteCookie(_:completionHandler:)' 'async' to allow actor-isolated conformances
22 |     )
23 |
24 |     func deleteCookie(
   |          `- note: mark the protocol requirement 'deleteCookie(_:completionHandler:)' 'async' to allow actor-isolated conformances
25 |         _ cookie: HTTPCookie,
26 |         completionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:12:1: error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   | |- error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
   | `- note: add stubs for conformance
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
WebKit.WKHTTPCookieStore.getAllCookies:2:11: note: candidate has non-matching type '(@escaping @MainActor @Sendable ([HTTPCookie]) -> Void) -> Void'
1 | class WKHTTPCookieStore {
2 | open func getAllCookies(_ completionHandler: @escaping @MainActor @Sendable ([HTTPCookie]) -> Void)}
  |           `- note: candidate has non-matching type '(@escaping @MainActor @Sendable ([HTTPCookie]) -> Void) -> Void'
3 |
WebKit.WKHTTPCookieStore.setCookie:2:11: note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
1 | class WKHTTPCookieStore {
2 | open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
  |           `- note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
3 |
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:15:10: note: protocol requires function 'getAllCookies' with type '(@escaping ([HTTPCookie]) -> Void) -> ()'
13 |
14 | public protocol HTTPCookieSyncableStorage {
15 |     func getAllCookies(
   |          `- note: protocol requires function 'getAllCookies' with type '(@escaping ([HTTPCookie]) -> Void) -> ()'
16 |         _ completionHandler: @escaping ([HTTPCookie]) -> Void
17 |     )
18 |
19 |     func setCookie(
   |          `- note: protocol requires function 'setCookie(_:completionHandler:)' with type '(HTTPCookie, (() -> Void)?) -> ()'
20 |         _ cookie: HTTPCookie,
21 |         completionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:19:32: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
15 |         completionHandler: (() -> Void)?
   |         `- note: parameter 'completionHandler' is implicitly non-sendable
16 |     ) {
17 |         self.delete(
18 |             cookie,
19 |             completionHandler: completionHandler
   |                                `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
20 |         )
21 |     }
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/10] Compiling HTTPCookieSync HTTPCookieSyncer.swift
[3/10] Compiling HTTPCookieSync HTTPCookieSyncableStorage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling HTTPCookieSync HTTPCookie+HTTPCookieSync.swift
[5/10] Compiling HTTPCookieSync DispatchQueue+HTTPCookieSync.swift
[6/10] Compiling HTTPCookieSync HTTPCookieSyncCore.swift
[7/10] Compiling HTTPCookieSync HTTPCookieStorage+HTTPCookieSync.swift
[8/10] Compiling HTTPCookieSync HTTPCookiePropertyKey+HTTPCookieSync.swift
[9/10] Compiling HTTPCookieSync WKHTTPCookieStore+HTTPCookieSync.swift
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:12:1: warning: sendability of function types in instance method 'getAllCookies' does not match requirement in protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   | `- warning: sendability of function types in instance method 'getAllCookies' does not match requirement in protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:15:10: note: expected sendability to match requirement here
13 |
14 | public protocol HTTPCookieSyncableStorage {
15 |     func getAllCookies(
   |          `- note: expected sendability to match requirement here
16 |         _ completionHandler: @escaping ([HTTPCookie]) -> Void
17 |     )
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:12:1: error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   | |- error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
   | `- note: add stubs for conformance
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
WebKit.WKHTTPCookieStore.setCookie:2:11: note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
1 | class WKHTTPCookieStore {
2 | open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
  |           `- note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
3 |
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:19:10: note: protocol requires function 'setCookie(_:completionHandler:)' with type '(HTTPCookie, (() -> Void)?) -> ()'
17 |     )
18 |
19 |     func setCookie(
   |          `- note: protocol requires function 'setCookie(_:completionHandler:)' with type '(HTTPCookie, (() -> Void)?) -> ()'
20 |         _ cookie: HTTPCookie,
21 |         completionHandler: (() -> Void)?
[10/10] Emitting module HTTPCookieSync
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:12:1: warning: sendability of function types in instance method 'getAllCookies' does not match requirement in protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   | `- warning: sendability of function types in instance method 'getAllCookies' does not match requirement in protocol 'HTTPCookieSyncableStorage'; this is an error in the Swift 6 language mode
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:15:10: note: expected sendability to match requirement here
13 |
14 | public protocol HTTPCookieSyncableStorage {
15 |     func getAllCookies(
   |          `- note: expected sendability to match requirement here
16 |         _ completionHandler: @escaping ([HTTPCookie]) -> Void
17 |     )
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/Extensions/WKHTTPCookieStore+HTTPCookieSync.swift:12:1: error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
10 | import WebKit
11 |
12 | extension WKHTTPCookieStore: HTTPCookieSyncableStorage {
   | |- error: type 'WKHTTPCookieStore' does not conform to protocol 'HTTPCookieSyncableStorage'
   | `- note: add stubs for conformance
13 |     public func deleteCookie(
14 |         _ cookie: HTTPCookie,
WebKit.WKHTTPCookieStore.setCookie:2:11: note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
1 | class WKHTTPCookieStore {
2 | open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
  |           `- note: candidate has non-matching type '(HTTPCookie, (@MainActor @Sendable () -> Void)?) -> Void'
3 |
/Users/admin/builder/spi-builder-workspace/HTTPCookieSync/Sources/HTTPCookieSyncableStorage.swift:19:10: note: protocol requires function 'setCookie(_:completionHandler:)' with type '(HTTPCookie, (() -> Void)?) -> ()'
17 |     )
18 |
19 |     func setCookie(
   |          `- note: protocol requires function 'setCookie(_:completionHandler:)' with type '(HTTPCookie, (() -> Void)?) -> ()'
20 |         _ cookie: HTTPCookie,
21 |         completionHandler: (() -> Void)?
BUILD FAILURE 6.1 macosSpm