This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of EmealKit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/EmealKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/EmealKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3228f1a use more sensible log levels
Cloned https://github.com/kiliankoe/EmealKit.git
Revision (git rev-parse @):
3228f1a1feb4f3283e6162df74527523f7c56dd7
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/kiliankoe/EmealKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kiliankoe/EmealKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/15] Compiling Regex ThreadLocal.swift
[6/15] Compiling Regex MatchResult.swift
[7/15] Emitting module Regex
[8/15] Compiling Regex Options.swift
[9/15] Compiling Regex Regex.swift
[10/15] Compiling Regex String+ReplaceMatching.swift
[11/15] Compiling Regex Foundation+Ranges.swift
[12/15] Compiling HTMLString NSString+HTMLString.swift
[13/15] Emitting module HTMLString
[14/15] Compiling HTMLString Mappings.swift
[15/15] Compiling HTMLString HTMLString.swift
[16/32] Compiling EmealKit Meal.swift
[17/32] Compiling EmealKit EmealError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:4:24: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
  |                        |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
  |                        |- note: annotate 'subsystem' with '@MainActor' if property should only be accessed from the main actor
  |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:6:16: warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                `- warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger {
   |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import os.log
  | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                |- note: annotate 'emealKit' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[18/32] Compiling EmealKit Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:4:24: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
  |                        |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
  |                        |- note: annotate 'subsystem' with '@MainActor' if property should only be accessed from the main actor
  |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:6:16: warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                `- warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger {
   |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import os.log
  | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                |- note: annotate 'emealKit' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[19/33] Compiling EmealKit Canteen.swift
[20/33] Compiling EmealKit LocalizedEmealStrings.swift
[21/33] Compiling EmealKit ObservableEmeal.swift
[22/33] Compiling EmealKit LoginResponse.swift
[23/33] Compiling EmealKit Transaction.swift
[24/33] Emitting module EmealKit
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:4:16: warning: static property 'dayMonthYearFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | extension Date {
 4 |     static var dayMonthYearFormatter: DateFormatter = {
   |                |- warning: static property 'dayMonthYearFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'dayMonthYearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'dayMonthYearFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |         let formatter = DateFormatter()
 6 |         formatter.dateFormat = "dd.MM.y"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:11:16: warning: static property 'dayMonthYearHourMinute' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     }()
10 |
11 |     static var dayMonthYearHourMinute: DateFormatter = {
   |                |- warning: static property 'dayMonthYearHourMinute' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'dayMonthYearHourMinute' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'dayMonthYearHourMinute' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = DateFormatter()
13 |         formatter.dateFormat = "dd.MM.y HH:mm"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:18:16: warning: static property 'yearMonthDayFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     }()
17 |
18 |     static var yearMonthDayFormatter: DateFormatter = {
   |                |- warning: static property 'yearMonthDayFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'yearMonthDayFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'yearMonthDayFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |         let formatter = DateFormatter()
20 |         formatter.dateFormat = "y-MM-dd"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:4:24: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
  |                        |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
  |                        |- note: annotate 'subsystem' with '@MainActor' if property should only be accessed from the main actor
  |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:6:16: warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                `- warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger {
   |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import os.log
  | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                |- note: annotate 'emealKit' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[25/33] Compiling EmealKit Date+short.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:4:16: warning: static property 'dayMonthYearFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | extension Date {
 4 |     static var dayMonthYearFormatter: DateFormatter = {
   |                |- warning: static property 'dayMonthYearFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'dayMonthYearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'dayMonthYearFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |         let formatter = DateFormatter()
 6 |         formatter.dateFormat = "dd.MM.y"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:11:16: warning: static property 'dayMonthYearHourMinute' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     }()
10 |
11 |     static var dayMonthYearHourMinute: DateFormatter = {
   |                |- warning: static property 'dayMonthYearHourMinute' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'dayMonthYearHourMinute' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'dayMonthYearHourMinute' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = DateFormatter()
13 |         formatter.dateFormat = "dd.MM.y HH:mm"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:18:16: warning: static property 'yearMonthDayFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     }()
17 |
18 |     static var yearMonthDayFormatter: DateFormatter = {
   |                |- warning: static property 'yearMonthDayFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'yearMonthDayFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'yearMonthDayFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |         let formatter = DateFormatter()
20 |         formatter.dateFormat = "y-MM-dd"
[26/33] Compiling EmealKit Double+euroString.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:4:16: warning: static property 'dayMonthYearFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | extension Date {
 4 |     static var dayMonthYearFormatter: DateFormatter = {
   |                |- warning: static property 'dayMonthYearFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'dayMonthYearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'dayMonthYearFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |         let formatter = DateFormatter()
 6 |         formatter.dateFormat = "dd.MM.y"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:11:16: warning: static property 'dayMonthYearHourMinute' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     }()
10 |
11 |     static var dayMonthYearHourMinute: DateFormatter = {
   |                |- warning: static property 'dayMonthYearHourMinute' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'dayMonthYearHourMinute' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'dayMonthYearHourMinute' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = DateFormatter()
13 |         formatter.dateFormat = "dd.MM.y HH:mm"
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Date+short.swift:18:16: warning: static property 'yearMonthDayFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     }()
17 |
18 |     static var yearMonthDayFormatter: DateFormatter = {
   |                |- warning: static property 'yearMonthDayFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'yearMonthDayFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'yearMonthDayFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |         let formatter = DateFormatter()
20 |         formatter.dateFormat = "y-MM-dd"
[27/33] Compiling EmealKit CardserviceAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/CardserviceAPI.swift:25:17: warning: capture of 'completion' with non-sendable type '(Result<T, CardserviceError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |         let task = session.dataTask(with: request) { data, response, error in
24 |             guard error == nil else {
25 |                 completion(.failure(.network(error)))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<T, CardserviceError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 |                 return
27 |             }
[28/33] Compiling EmealKit CardserviceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/CardserviceAPI.swift:25:17: warning: capture of 'completion' with non-sendable type '(Result<T, CardserviceError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |         let task = session.dataTask(with: request) { data, response, error in
24 |             guard error == nil else {
25 |                 completion(.failure(.network(error)))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<T, CardserviceError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 |                 return
27 |             }
[29/33] Compiling EmealKit CardData.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:6:16: warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                `- warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger {
   |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import os.log
  | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                |- note: annotate 'emealKit' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[30/33] Compiling EmealKit Cardservice.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:6:16: warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                `- warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger {
   |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import os.log
  | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                |- note: annotate 'emealKit' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[31/33] Compiling EmealKit Emeal.swift
[32/33] Compiling EmealKit EmealDelegate.swift
[33/33] Compiling EmealKit MensaAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Mensa/MensaAPI.swift:26:21: warning: capture of 'completion' with non-sendable type '(Result<Data, EmealError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 |             else {
 25 |                 if let urlError = error {
 26 |                     completion(.failure(.other(urlError)))
    |                     |- warning: capture of 'completion' with non-sendable type '(Result<Data, EmealError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 27 |                     return
 28 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:6:16: warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                `- warning: static property 'emealKit' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger {
   |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Logger.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import os.log
  | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
2 |
3 | extension Logger {
4 |     private static var subsystem = "io.kilian.EmealKit"
5 |
6 |     static let emealKit = Logger(subsystem: subsystem, category: "EmealKit")
  |                |- note: annotate 'emealKit' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
Build complete! (32.77s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/alexaubry/HTMLString.git
[1/1631] Fetching htmlstring
[50/2885] Fetching htmlstring, regex
Fetched https://github.com/sharplet/Regex.git from cache (1.48s)
Fetched https://github.com/alexaubry/HTMLString.git from cache (1.48s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.66s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (2.34s)
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.0
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "htmlstring",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/alexaubry/HTMLString.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    }
  ],
  "manifest_display_name" : "EmealKit",
  "name" : "EmealKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "EmealKit",
      "targets" : [
        "EmealKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EmealKitTests",
      "module_type" : "SwiftTarget",
      "name" : "EmealKitTests",
      "path" : "Tests/EmealKitTests",
      "sources" : [
        "CanteenTests.swift",
        "EmealTests.swift",
        "MealTests.swift",
        "MockURLSession.swift"
      ],
      "target_dependencies" : [
        "EmealKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EmealKit",
      "module_type" : "SwiftTarget",
      "name" : "EmealKit",
      "path" : "Sources/EmealKit",
      "product_dependencies" : [
        "HTMLString",
        "Regex"
      ],
      "product_memberships" : [
        "EmealKit"
      ],
      "sources" : [
        "Cardservice/CardData.swift",
        "Cardservice/Cardservice.swift",
        "Cardservice/CardserviceAPI.swift",
        "Cardservice/CardserviceError.swift",
        "Cardservice/LoginResponse.swift",
        "Cardservice/Transaction.swift",
        "Date+short.swift",
        "Double+euroString.swift",
        "Emeal/Emeal.swift",
        "Emeal/EmealDelegate.swift",
        "Emeal/LocalizedEmealStrings.swift",
        "Emeal/ObservableEmeal.swift",
        "EmealError.swift",
        "Logger.swift",
        "Mensa/Canteen.swift",
        "Mensa/Meal.swift",
        "Mensa/MensaAPI.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "APIValidationTests",
      "module_type" : "SwiftTarget",
      "name" : "APIValidationTests",
      "path" : "Tests/APIValidationTests",
      "sources" : [
        "CardserviceAPITests.swift",
        "MenuAPITests.swift"
      ],
      "target_dependencies" : [
        "EmealKit"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.