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 CampusDualKit, reference 0.2.1 (8f5824), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 12:04:53 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/jonasrichardrichter/CampusDualKit.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jonasrichardrichter/CampusDualKit
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 8f58241 Fix bug
Cloned https://github.com/jonasrichardrichter/CampusDualKit.git
Revision (git rev-parse @):
8f582414f43e9bb8f6f1fcaf19574cb04e0a7857
SUCCESS checkout https://github.com/jonasrichardrichter/CampusDualKit.git at 0.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jonasrichardrichter/CampusDualKit.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/8] Emitting module Logging
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Logging.swift
[7/8] Compiling Logging MetadataProvider.swift
[8/8] Compiling Logging Locks.swift
[9/16] Compiling CampusDualKit Lesson.swift
[10/16] Compiling CampusDualKit StudyDay.swift
[11/16] Compiling CampusDualKit ScheduleServiceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:38:109: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
36 |             switch Locale.current.languageCode {
37 |             case "de":
38 |                 return "Es ist ein Fehler bei der Verarbeitung der Daten aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
   |                                                                                                             |      |- note: use 'String(describing:)' to silence this warning
   |                                                                                                             |      `- note: provide a default value to avoid this warning
   |                                                                                                             `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
39 |             default:
40 |                 return "An error occurred while processing the data. More information: \(error?.localizedDescription)"
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:40:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
38 |                 return "Es ist ein Fehler bei der Verarbeitung der Daten aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
39 |             default:
40 |                 return "An error occurred while processing the data. More information: \(error?.localizedDescription)"
   |                                                                                          |      |- note: use 'String(describing:)' to silence this warning
   |                                                                                          |      `- note: provide a default value to avoid this warning
   |                                                                                          `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
41 |             }
42 |         case .network(let error):
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:45:86: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
43 |             switch Locale.current.languageCode {
44 |             case "de":
45 |                 return "Es ist ein Netzwerkfehler aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
   |                                                                                      |      |- note: use 'String(describing:)' to silence this warning
   |                                                                                      |      `- note: provide a default value to avoid this warning
   |                                                                                      `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
46 |             default:
47 |                 return "A network error occurred. More information: \(error?.localizedDescription)"
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:47:71: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
45 |                 return "Es ist ein Netzwerkfehler aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
46 |             default:
47 |                 return "A network error occurred. More information: \(error?.localizedDescription)"
   |                                                                       |      |- note: use 'String(describing:)' to silence this warning
   |                                                                       |      `- note: provide a default value to avoid this warning
   |                                                                       `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
48 |             }
49 |         case .other(let error):
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:52:87: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
50 |             switch Locale.current.languageCode {
51 |             case "de":
52 |                 return "Ein unbekannter Fehler ist aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
   |                                                                                       |      |- note: use 'String(describing:)' to silence this warning
   |                                                                                       |      `- note: provide a default value to avoid this warning
   |                                                                                       `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
53 |             default:
54 |                 return "An unknown error has occurred. More information: \(error?.localizedDescription)"
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:54:76: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
52 |                 return "Ein unbekannter Fehler ist aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
53 |             default:
54 |                 return "An unknown error has occurred. More information: \(error?.localizedDescription)"
   |                                                                            |      |- note: use 'String(describing:)' to silence this warning
   |                                                                            |      `- note: provide a default value to avoid this warning
   |                                                                            `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
55 |             }
56 |         }
[12/16] Compiling CampusDualKit URL+CampusDual.swift
[13/16] Emitting module CampusDualKit
[14/16] Compiling CampusDualKit URLSession+scheduleServiceDataTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:24:23: warning: immutable value 'response' was never used; consider replacing with '_' or removing it [#no-usage]
22 |             }
23 |
24 |             guard let response = response, let data = data else {
   |                       `- warning: immutable value 'response' was never used; consider replacing with '_' or removing it [#no-usage]
25 |                 completion(.failure(.network(nil)))
26 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:20:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
18 |
19 |             guard error == nil else {
20 |                 completion(.failure(.network(error)))
   |                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:12:90: warning: capture of non-sendable type 'T.Type' in an isolated closure
10 | internal extension URLSession {
11 |
12 |     func scheduleServiceDataTask<T: Decodable>(request: URLRequest, session: URLSession, completion: @escaping (Result<T, ScheduleServiceError>) -> Void) {
   |                                                                                          `- warning: capture of non-sendable type 'T.Type' in an isolated closure
13 |
14 |         var request = request
[15/16] Compiling CampusDualKit Logger+CustomInit.swift
[16/16] Compiling CampusDualKit ScheduleService.swift
Build complete! (6.71s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.45s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "CampusDualKit",
  "name" : "CampusDualKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "CampusDualKit",
      "targets" : [
        "CampusDualKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CampusDualKit",
      "module_type" : "SwiftTarget",
      "name" : "CampusDualKit",
      "path" : "Sources/CampusDualKit",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "CampusDualKit"
      ],
      "sources" : [
        "Extensions/Logger+CustomInit.swift",
        "Extensions/URL+CampusDual.swift",
        "Extensions/URLSession+scheduleServiceDataTask.swift",
        "ScheduleService/Lesson.swift",
        "ScheduleService/ScheduleService.swift",
        "ScheduleService/ScheduleServiceError.swift",
        "ScheduleService/StudyDay.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.