The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Janus, reference 0.0.7 (b40602), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 16:01:37 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amarantedaniel/JanusSwift.git
Reference: 0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amarantedaniel/JanusSwift
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at b406022 Add support to keepalive requests
Cloned https://github.com/amarantedaniel/JanusSwift.git
Revision (git rev-parse @):
b4060229d323d64680d5829197c4a3e26000fdfc
SUCCESS checkout https://github.com/amarantedaniel/JanusSwift.git at 0.0.7
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amarantedaniel/JanusSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/25] Emitting module Janus
[4/27] Compiling Janus TrickleResponse.swift
[5/27] Compiling Janus JanusAPI.swift
[6/27] Compiling Janus AttachPluginResponse.swift
[7/27] Compiling Janus CreateResponse.swift
[8/27] Compiling Janus StartResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[9/27] Compiling Janus WatchResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[10/27] Compiling Janus APIRoute.swift
[11/27] Compiling Janus URLRequestConvertible.swift
[12/27] Compiling Janus JSEP.swift
[13/27] Compiling Janus APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Janus/API/APIClient.swift:11:44: warning: capture of non-sendable type 'T.Type' in an isolated closure
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
   |                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure
12 |                 completion(.success(response))
13 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Janus/API/APIClient.swift:6:51: warning: capture of non-sendable type 'T.Type' in an isolated closure
 4 |     let baseUrl: URL
 5 |
 6 |     func request<T: Decodable>(_ route: APIRoute, completion: @escaping (Result<T, APIError>) -> Void) {
   |                                                   `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
[14/27] Compiling Janus APIClientProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Janus/API/APIClient.swift:11:44: warning: capture of non-sendable type 'T.Type' in an isolated closure
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
   |                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure
12 |                 completion(.success(response))
13 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Janus/API/APIClient.swift:6:51: warning: capture of non-sendable type 'T.Type' in an isolated closure
 4 |     let baseUrl: URL
 5 |
 6 |     func request<T: Decodable>(_ route: APIRoute, completion: @escaping (Result<T, APIError>) -> Void) {
   |                                                   `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
[15/27] Compiling Janus APIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Janus/API/APIClient.swift:11:44: warning: capture of non-sendable type 'T.Type' in an isolated closure
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
   |                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure
12 |                 completion(.success(response))
13 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Janus/API/APIClient.swift:6:51: warning: capture of non-sendable type 'T.Type' in an isolated closure
 4 |     let baseUrl: URL
 5 |
 6 |     func request<T: Decodable>(_ route: APIRoute, completion: @escaping (Result<T, APIError>) -> Void) {
   |                                                   `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
[16/27] Compiling Janus LongPollStartResult.swift
[17/27] Compiling Janus LongPollWatchResult.swift
[18/27] Compiling Janus WatchRequest.swift
[19/27] Compiling Janus TrickleRequest.swift
[20/27] Compiling Janus KeepAliveResponse.swift
[21/27] Compiling Janus ListResult.swift
[22/27] Compiling Janus KeepAliveRequest.swift
[23/27] Compiling Janus ListRequest.swift
[24/27] Compiling Janus StartRequest.swift
[25/27] Compiling Janus Plugin.swift
[26/27] Compiling Janus AttachPluginRequest.swift
[27/27] Compiling Janus CreateRequest.swift
Build complete! (4.92s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Janus",
  "name" : "Janus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Janus",
      "targets" : [
        "Janus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JanusTests",
      "module_type" : "SwiftTarget",
      "name" : "JanusTests",
      "path" : "Tests/JanusTests",
      "sources" : [
        "JanusAPITests.swift",
        "Stub/APIClientStub.swift"
      ],
      "target_dependencies" : [
        "Janus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Janus",
      "module_type" : "SwiftTarget",
      "name" : "Janus",
      "path" : "Sources/Janus",
      "product_memberships" : [
        "Janus"
      ],
      "sources" : [
        "API/APIClient.swift",
        "API/APIClientProtocol.swift",
        "API/APIError.swift",
        "API/APIRoute.swift",
        "API/URLRequestConvertible.swift",
        "Data/JSEP.swift",
        "Data/Plugin.swift",
        "Data/Request/AttachPluginRequest.swift",
        "Data/Request/CreateRequest.swift",
        "Data/Request/KeepAliveRequest.swift",
        "Data/Request/Streaming/ListRequest.swift",
        "Data/Request/Streaming/StartRequest.swift",
        "Data/Request/Streaming/WatchRequest.swift",
        "Data/Request/TrickleRequest.swift",
        "Data/Response/AttachPluginResponse.swift",
        "Data/Response/CreateResponse.swift",
        "Data/Response/KeepAliveResponse.swift",
        "Data/Response/Streaming/ListResult.swift",
        "Data/Response/Streaming/LongPollStartResult.swift",
        "Data/Response/Streaming/LongPollWatchResult.swift",
        "Data/Response/Streaming/StartResponse.swift",
        "Data/Response/Streaming/WatchResponse.swift",
        "Data/Response/TrickleResponse.swift",
        "JanusAPI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.