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 EventSource, reference 0.1.4 (d783b1), with Swift 5.10 for Linux on 3 Mar 2025 20:04:21 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/EventSource.git
Reference: 0.1.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Recouse/EventSource
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at d783b1c Add iOS 15 job to CI (#29)
Cloned https://github.com/Recouse/EventSource.git
Revision (git rev-parse @):
d783b1cf60599dbcec6396c55a6bab33a1c92dc3
SUCCESS checkout https://github.com/Recouse/EventSource.git at 0.1.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Recouse/EventSource.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling EventSource Headers.swift
[4/10] Compiling EventSource Extensions.swift
[5/10] Compiling EventSource EventSourceError.swift
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:65:6: warning: unknown platform 'visionOS' for attribute 'available'
    @available(visionOS, deprecated: 1.0, obsoleted: 1.1, message: "This method is not recommended on visionOS 1.0+")
     ^
[6/10] Compiling EventSource ServerEvent.swift
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:65:6: warning: unknown platform 'visionOS' for attribute 'available'
    @available(visionOS, deprecated: 1.0, obsoleted: 1.1, message: "This method is not recommended on visionOS 1.0+")
     ^
[7/10] Compiling EventSource SessionDelegate.swift
/host/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:17:14: warning: associated value 'didReceiveResponse' of 'Sendable'-conforming enum 'Event' has non-sendable type 'URLResponse'
        case didReceiveResponse(URLResponse, @Sendable (URLSession.ResponseDisposition) -> Void)
             ^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
           ^
/host/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:11:5: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
    import FoundationNetworking
    ^
    @preconcurrency
/host/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
    func urlSession(
         ^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
         ^
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:65:6: warning: unknown platform 'visionOS' for attribute 'available'
    @available(visionOS, deprecated: 1.0, obsoleted: 1.1, message: "This method is not recommended on visionOS 1.0+")
     ^
[8/10] Emitting module EventSource
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:65:6: warning: unknown platform 'visionOS' for attribute 'available'
    @available(visionOS, deprecated: 1.0, obsoleted: 1.1, message: "This method is not recommended on visionOS 1.0+")
     ^
/host/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:17:14: warning: associated value 'didReceiveResponse' of 'Sendable'-conforming enum 'Event' has non-sendable type 'URLResponse'
        case didReceiveResponse(URLResponse, @Sendable (URLSession.ResponseDisposition) -> Void)
             ^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
           ^
/host/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:11:5: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
    import FoundationNetworking
    ^
    @preconcurrency
/host/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
    func urlSession(
         ^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
         ^
[9/10] Compiling EventSource EventParser.swift
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:50:69: warning: unrecognized platform name 'visionOS'
        if #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, visionOS 1.0, *) {
                                                                    ^
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:65:6: warning: unknown platform 'visionOS' for attribute 'available'
    @available(visionOS, deprecated: 1.0, obsoleted: 1.1, message: "This method is not recommended on visionOS 1.0+")
     ^
[10/10] Compiling EventSource EventSource.swift
/host/spi-builder-workspace/Sources/EventSource/EventParser.swift:65:6: warning: unknown platform 'visionOS' for attribute 'available'
    @available(visionOS, deprecated: 1.0, obsoleted: 1.1, message: "This method is not recommended on visionOS 1.0+")
     ^
Build complete! (4.52s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EventSource",
  "name" : "EventSource",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "EventSource",
      "targets" : [
        "EventSource"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EventSourceTests",
      "module_type" : "SwiftTarget",
      "name" : "EventSourceTests",
      "path" : "Tests/EventSourceTests",
      "sources" : [
        "EventParserTests.swift"
      ],
      "target_dependencies" : [
        "EventSource"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EventSource",
      "module_type" : "SwiftTarget",
      "name" : "EventSource",
      "path" : "Sources/EventSource",
      "product_memberships" : [
        "EventSource"
      ],
      "sources" : [
        "EventParser.swift",
        "EventSource.swift",
        "EventSourceError.swift",
        "Extensions.swift",
        "Headers.swift",
        "ServerEvent.swift",
        "SessionDelegate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.