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 CNKit, reference 0.6.0 (04ca97), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 09:03:30 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/kiliankoe/cnkit.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/cnkit
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 04ca973 parallelize tests and order randomly
Cloned https://github.com/kiliankoe/cnkit.git
Revision (git rev-parse @):
04ca973e7e6f03fd1d19f633ddff84dd6ee3ad32
SUCCESS checkout https://github.com/kiliankoe/cnkit.git at 0.6.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kiliankoe/cnkit.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/30] Compiling CNKit CanteenMenu.swift
[4/30] Compiling CNKit Floor.swift
[5/30] Compiling CNKit Hash.swift
[6/33] Compiling CNKit RoomType.swift
[7/33] Compiling CNKit Route.swift
[8/33] Compiling CNKit Search.swift
[9/33] Compiling CNKit Timetable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:50:16: warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
48 |             // But on some endpoints we do get UTF8 data and then this fails. A default (preferably UTF8) would be
49 |             // fantastic...
50 |             if expectedEncoding == .isoLatin1 {
   |                `- warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
51 |                 guard let isoString = String(data: data, encoding: .isoLatin1),
52 |                       let newData = isoString.data(using: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:38:17: warning: capture of non-sendable type 'Self.CollectionType.Type' in an isolated closure
36 |                   error == nil
37 |             else {
38 |                 completion(.failure(Error.response))
   |                 `- warning: capture of non-sendable type 'Self.CollectionType.Type' in an isolated closure
39 |                 return
40 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:20:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure
18 |                       session: URLSession,
19 |                       rawDataHandler: ((Data) -> Void)? = nil,
20 |                       completion: @escaping (Result<CollectionType>) -> Void) {
   |                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
21 |
22 |         var request: URLRequest
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:50:16: warning: capture of non-sendable type 'Self.Type' in an isolated closure
48 |             // But on some endpoints we do get UTF8 data and then this fails. A default (preferably UTF8) would be
49 |             // fantastic...
50 |             if expectedEncoding == .isoLatin1 {
   |                `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
51 |                 guard let isoString = String(data: data, encoding: .isoLatin1),
52 |                       let newData = isoString.data(using: .utf8)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/33] Compiling CNKit Transport.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:50:16: warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
48 |             // But on some endpoints we do get UTF8 data and then this fails. A default (preferably UTF8) would be
49 |             // fantastic...
50 |             if expectedEncoding == .isoLatin1 {
   |                `- warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
51 |                 guard let isoString = String(data: data, encoding: .isoLatin1),
52 |                       let newData = isoString.data(using: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:38:17: warning: capture of non-sendable type 'Self.CollectionType.Type' in an isolated closure
36 |                   error == nil
37 |             else {
38 |                 completion(.failure(Error.response))
   |                 `- warning: capture of non-sendable type 'Self.CollectionType.Type' in an isolated closure
39 |                 return
40 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:20:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure
18 |                       session: URLSession,
19 |                       rawDataHandler: ((Data) -> Void)? = nil,
20 |                       completion: @escaping (Result<CollectionType>) -> Void) {
   |                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
21 |
22 |         var request: URLRequest
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:50:16: warning: capture of non-sendable type 'Self.Type' in an isolated closure
48 |             // But on some endpoints we do get UTF8 data and then this fails. A default (preferably UTF8) would be
49 |             // fantastic...
50 |             if expectedEncoding == .isoLatin1 {
   |                `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
51 |                 guard let isoString = String(data: data, encoding: .isoLatin1),
52 |                       let newData = isoString.data(using: .utf8)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/33] Compiling CNKit APIResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:50:16: warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
48 |             // But on some endpoints we do get UTF8 data and then this fails. A default (preferably UTF8) would be
49 |             // fantastic...
50 |             if expectedEncoding == .isoLatin1 {
   |                `- warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
51 |                 guard let isoString = String(data: data, encoding: .isoLatin1),
52 |                       let newData = isoString.data(using: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:38:17: warning: capture of non-sendable type 'Self.CollectionType.Type' in an isolated closure
36 |                   error == nil
37 |             else {
38 |                 completion(.failure(Error.response))
   |                 `- warning: capture of non-sendable type 'Self.CollectionType.Type' in an isolated closure
39 |                 return
40 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:20:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure
18 |                       session: URLSession,
19 |                       rawDataHandler: ((Data) -> Void)? = nil,
20 |                       completion: @escaping (Result<CollectionType>) -> Void) {
   |                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
21 |
22 |         var request: URLRequest
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:50:16: warning: capture of non-sendable type 'Self.Type' in an isolated closure
48 |             // But on some endpoints we do get UTF8 data and then this fails. A default (preferably UTF8) would be
49 |             // fantastic...
50 |             if expectedEncoding == .isoLatin1 {
   |                `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
51 |                 guard let isoString = String(data: data, encoding: .isoLatin1),
52 |                       let newData = isoString.data(using: .utf8)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[12/33] Compiling CNKit URLRequest.swift
[13/33] Compiling CNKit Resource.swift
[14/33] Compiling CNKit ResourceRepresentable.swift
[15/33] Compiling CNKit Result.swift
[16/33] Compiling CNKit Ternary.swift
[17/33] Compiling CNKit Tiles.swift
[18/33] Compiling CNKit MKMapRect.swift
[19/33] Compiling CNKit String.swift
[20/33] Compiling CNKit URL.swift
[21/33] Emitting module CNKit
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
  | |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
4 |     public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 |         return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 |     #elseif os(macOS)
40 |         /// The color this room should be displayed as.
41 |         public var color: NSColor? {
   |         `- warning: 'public' modifier is redundant for property declared in a public extension
42 |             return NSColor(withRGB: self.rawColor)
43 |         }
[22/33] Compiling CNKit APIError.swift
[23/33] Compiling CNKit Building.swift
[24/33] Compiling CNKit Campus.swift
[25/33] Compiling CNKit Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
  | |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
4 |     public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 |         return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[26/33] Compiling CNKit Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
  | |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
4 |     public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 |         return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[27/33] Compiling CNKit CLLocationCoordinate2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
  | |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
4 |     public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 |         return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[28/33] Compiling CNKit Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 |     #elseif os(macOS)
40 |         /// The color this room should be displayed as.
41 |         public var color: NSColor? {
   |         `- warning: 'public' modifier is redundant for property declared in a public extension
42 |             return NSColor(withRGB: self.rawColor)
43 |         }
[29/33] Compiling CNKit Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 |     #elseif os(macOS)
40 |         /// The color this room should be displayed as.
41 |         public var color: NSColor? {
   |         `- warning: 'public' modifier is redundant for property declared in a public extension
42 |             return NSColor(withRGB: self.rawColor)
43 |         }
[30/33] Compiling CNKit Int.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 |     #elseif os(macOS)
40 |         /// The color this room should be displayed as.
41 |         public var color: NSColor? {
   |         `- warning: 'public' modifier is redundant for property declared in a public extension
42 |             return NSColor(withRGB: self.rawColor)
43 |         }
[31/33] Compiling CNKit Login.swift
[32/33] Compiling CNKit RoomID.swift
[33/33] Compiling CNKit RoomInfo.swift
Build complete! (6.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CNKit",
  "name" : "CNKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CNKit",
      "targets" : [
        "CNKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CNKitTests",
      "module_type" : "SwiftTarget",
      "name" : "CNKitTests",
      "path" : "Tests/CNKitTests",
      "sources" : [
        "AccessibilityInfoTests.swift",
        "BuildingComplexTests.swift",
        "CampusTests.swift",
        "CanteenMenuTests.swift",
        "ColorTests.swift",
        "ErrorTests.swift",
        "FloorTests.swift",
        "HashTests.swift",
        "LoginTests.swift",
        "MKMapRectTests.swift",
        "ResourceTests.swift",
        "ResultTests.swift",
        "RoomIDTests.swift",
        "RoomInfoTests.swift",
        "RouteTests.swift",
        "SearchTests.swift",
        "TilesTests.swift",
        "TimetableTests.swift",
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "CNKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CNKit",
      "module_type" : "SwiftTarget",
      "name" : "CNKit",
      "path" : "Sources/CNKit",
      "product_memberships" : [
        "CNKit"
      ],
      "sources" : [
        "AModels/APIError.swift",
        "AModels/Building.swift",
        "AModels/Campus.swift",
        "AModels/CanteenMenu.swift",
        "AModels/Floor.swift",
        "AModels/Hash.swift",
        "AModels/Login.swift",
        "AModels/RoomID.swift",
        "AModels/RoomInfo.swift",
        "AModels/RoomType.swift",
        "AModels/Route.swift",
        "AModels/Search.swift",
        "AModels/Timetable.swift",
        "AModels/Transport.swift",
        "APIResource.swift",
        "Config.swift",
        "Error.swift",
        "Extensions/CLLocationCoordinate2D.swift",
        "Extensions/Color.swift",
        "Extensions/Dictionary.swift",
        "Extensions/Int.swift",
        "Extensions/MKMapRect.swift",
        "Extensions/String.swift",
        "Extensions/URL.swift",
        "Extensions/URLRequest.swift",
        "Resource.swift",
        "ResourceRepresentable.swift",
        "Result.swift",
        "Ternary.swift",
        "Tiles.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.