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 Cosmic, reference master (0c836f), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 13:58:39 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/jnewc/Cosmic.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jnewc/Cosmic
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0c836f1 Fix double formatting with composite logger
Cloned https://github.com/jnewc/Cosmic.git
Revision (git rev-parse @):
0c836f1c9935418c613c3f9913e32412ded5c782
SUCCESS checkout https://github.com/jnewc/Cosmic.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jnewc/Cosmic.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/9] Compiling Socket SocketUtils.swift
[5/9] Compiling Socket SocketProtocols.swift
[6/9] Compiling Socket Socket+Hashable.swift
[7/9] Emitting module Socket
[8/9] Compiling Socket Socket.swift
[9/9] Compiling Socket Socket+Equatable.swift
[10/34] Emitting module Cosmic
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 41 | /// and reporting services.
 42 | ///
 43 | public protocol Logger: class {
    |                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 44 |
 45 |     init()
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 |     /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 |     /// - Throws: A JSON serialization error
21 |     open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
   |     `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 |         if let data = try? self.data(withJSONObject: obj, options: opt) {
23 |             return String(data: data, encoding: .utf8)
[11/36] Compiling Cosmic LogCache.swift
[12/36] Compiling Cosmic LogFilter.swift
[13/36] Compiling Cosmic LogFormatter.swift
[14/36] Compiling Cosmic Debug.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 |     /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 |     /// - Throws: A JSON serialization error
21 |     open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
   |     `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 |         if let data = try? self.data(withJSONObject: obj, options: opt) {
23 |             return String(data: data, encoding: .utf8)
[15/36] Compiling Cosmic Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 |     /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 |     /// - Throws: A JSON serialization error
21 |     open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
   |     `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 |         if let data = try? self.data(withJSONObject: obj, options: opt) {
23 |             return String(data: data, encoding: .utf8)
[16/36] Compiling Cosmic Commons.swift
[17/36] Compiling Cosmic DataUtility.swift
[18/36] Compiling Cosmic LogLevel.swift
[19/36] Compiling Cosmic LogOutputStream.swift
[20/36] Compiling Cosmic LogReporter.swift
[21/36] Compiling Cosmic LambdaLogger.swift
[22/36] Compiling Cosmic MemoryLogger.swift
[23/36] Compiling Cosmic PrintLogger.swift
[24/36] Compiling Cosmic PapertrailLogger.swift
[25/36] Compiling Cosmic SocketLogger.swift
[26/36] Compiling Cosmic SyslogFormatter.swift
[27/36] Compiling Cosmic CompositeLogger.swift
[28/36] Compiling Cosmic HTTPLogger.swift
[29/36] Compiling Cosmic Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 41 | /// and reporting services.
 42 | ///
 43 | public protocol Logger: class {
    |                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 44 |
 45 |     init()
[30/36] Compiling Cosmic CompletionFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 41 | /// and reporting services.
 42 | ///
 43 | public protocol Logger: class {
    |                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 44 |
 45 |     init()
[31/36] Compiling Cosmic JSONFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 41 | /// and reporting services.
 42 | ///
 43 | public protocol Logger: class {
    |                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 44 |
 45 |     init()
[32/36] Compiling Cosmic LogItLogger.swift
[33/36] Compiling Cosmic LogglyLogger.swift
[34/36] Compiling Cosmic LogzLogger.swift
[35/36] Compiling Cosmic Operators.swift
[36/36] Compiling Cosmic UniversalSocket.swift
Build complete! (7.14s)
Fetching https://github.com/Kitura/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket from cache (1.53s)
Computing version for https://github.com/Kitura/BlueSocket
Computed https://github.com/Kitura/BlueSocket at 2.0.4 (2.06s)
Creating working copy for https://github.com/Kitura/BlueSocket
Working copy of https://github.com/Kitura/BlueSocket resolved at 2.0.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "bluesocket",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueSocket"
    }
  ],
  "manifest_display_name" : "Cosmic",
  "name" : "Cosmic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cosmic",
      "targets" : [
        "Cosmic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CosmicTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmicTests",
      "path" : "Tests/CosmicTests",
      "sources" : [
        "CompositeLoggerTests.swift",
        "ExtensionsTests.swift",
        "FormatterTests.swift",
        "HTTPLoggerTests.swift",
        "Helpers/Extensions.swift",
        "Helpers/MockURLSession.swift",
        "Helpers/RegularExpressionAsserts.swift",
        "LamdaLoggerTests.swift",
        "LogFilterTests.swift",
        "LogItLoggerTests.swift",
        "LogMetadataTests.swift",
        "LogReporterTests.swift",
        "LoggerTests.swift",
        "OperatorsTests.swift",
        "PrintLoggerTests.swift",
        "ServiceLoggerTests.swift",
        "SocketLoggerTests.swift",
        "UniversalSocketTests.swift"
      ],
      "target_dependencies" : [
        "Cosmic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cosmic",
      "module_type" : "SwiftTarget",
      "name" : "Cosmic",
      "path" : "Sources/Cosmic",
      "product_dependencies" : [
        "Socket"
      ],
      "product_memberships" : [
        "Cosmic"
      ],
      "sources" : [
        "Base/LogCache.swift",
        "Base/LogFilter.swift",
        "Base/LogFormatter.swift",
        "Base/LogLevel.swift",
        "Base/LogOutputStream.swift",
        "Base/LogReporter.swift",
        "Base/Logger.swift",
        "Formatters/CompletionFormatter.swift",
        "Formatters/JSONFormatter.swift",
        "Formatters/SyslogFormatter.swift",
        "Loggers/CompositeLogger.swift",
        "Loggers/HTTPLogger.swift",
        "Loggers/LambdaLogger.swift",
        "Loggers/MemoryLogger.swift",
        "Loggers/PrintLogger.swift",
        "Socket/Services/LogItLogger.swift",
        "Socket/Services/LogglyLogger.swift",
        "Socket/Services/LogzLogger.swift",
        "Socket/Services/PapertrailLogger.swift",
        "Socket/SocketLogger.swift",
        "Utilities/Commons.swift",
        "Utilities/DataUtility.swift",
        "Utilities/Debug.swift",
        "Utilities/Extensions.swift",
        "Utilities/Operators.swift",
        "Utilities/UniversalSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.