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 main (7b2f4f), with Swift 5.10 for macOS (SPM) on 7 Jul 2025 10:12:19 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/EventSource.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Recouse/EventSource
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b2f4f5 Update cleanMessageData method
Cloned https://github.com/Recouse/EventSource.git
Revision (git rev-parse @):
7b2f4f585d3927876bd76eaede9fdff779eff102
SUCCESS checkout https://github.com/Recouse/EventSource.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Recouse/EventSource.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/12] Compiling EventSource SessionDelegate.swift
[4/12] Compiling EventSource Mutex.swift
[5/12] Compiling EventSource Headers.swift
[6/12] Compiling EventSource ServerEvent.swift
[7/12] Compiling EventSource Extensions.swift
[8/12] Compiling EventSource EventSourceError.swift
[9/12] Compiling EventSource Data+Trim.swift
[10/12] Compiling EventSource EventParser.swift
[11/12] Emitting module EventSource
[12/12] Compiling EventSource EventSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/EventSource/EventSource.swift:182:40: warning: capture of 'sessionDelegate' with non-sendable type 'SessionDelegate' in a `@Sendable` closure
                    for await event in sessionDelegate.eventStream {
                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/EventSource/SessionDelegate.swift:14:13: note: class 'SessionDelegate' does not conform to the 'Sendable' protocol
final class SessionDelegate: NSObject, URLSessionDataDelegate {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/EventSource/EventSource.swift:210:25: warning: no 'async' operations occur within 'await' expression
                        await self?.close(stream: continuation, urlSession: urlSession)
                        ^
Build complete! (5.04s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EventSource",
  "name" : "EventSource",
  "path" : "/Users/admin/builder/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" : [
        "Data+Trim.swift",
        "EventParser.swift",
        "EventSource.swift",
        "EventSourceError.swift",
        "Extensions.swift",
        "Headers.swift",
        "Mutex.swift",
        "ServerEvent.swift",
        "SessionDelegate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.