Build Information
Successful build of EmealKit, reference 0.11.0 (c5a418
), with Swift 6.0 for macOS (SPM) on 15 Nov 2024 23:43:28 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/EmealKit.git
Reference: 0.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/EmealKit
* tag 0.11.0 -> FETCH_HEAD
HEAD is now at c5a4188 Merge pull request #21 from kiliankoe/sold-out-meals
Cloned https://github.com/kiliankoe/EmealKit.git
Revision (git rev-parse @):
c5a4188cc1f30482e7a7f388ec777406a321e9e7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kiliankoe/EmealKit.git at 0.11.0
Fetching https://github.com/nmdias/FeedKit.git
Fetching https://github.com/alexaubry/HTMLString.git
Fetching https://github.com/sharplet/Regex.git
[1/1631] Fetching htmlstring
[18/2885] Fetching htmlstring, regex
[69/8628] Fetching htmlstring, regex, feedkit
Fetched https://github.com/sharplet/Regex.git from cache (1.40s)
Fetched https://github.com/alexaubry/HTMLString.git from cache (1.40s)
Fetched https://github.com/nmdias/FeedKit.git from cache (1.40s)
Computing version for https://github.com/nmdias/FeedKit.git
Computed https://github.com/nmdias/FeedKit.git at 9.1.2 (0.65s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.50s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (2.26s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/nmdias/FeedKit.git
Working copy of https://github.com/nmdias/FeedKit.git resolved at 9.1.2
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "emealkit",
"name": "EmealKit",
"url": "https://github.com/kiliankoe/EmealKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EmealKit",
"dependencies": [
{
"identity": "htmlstring",
"name": "HTMLString",
"url": "https://github.com/alexaubry/HTMLString.git",
"version": "5.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HTMLString",
"dependencies": [
]
},
{
"identity": "regex",
"name": "Regex",
"url": "https://github.com/sharplet/Regex.git",
"version": "2.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
"dependencies": [
]
},
{
"identity": "feedkit",
"name": "FeedKit",
"url": "https://github.com/nmdias/FeedKit.git",
"version": "9.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FeedKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kiliankoe/EmealKit.git
[1/1022] Fetching emealkit
Fetched https://github.com/kiliankoe/EmealKit.git from cache (0.85s)
Fetching https://github.com/sharplet/Regex.git from cache
Fetching https://github.com/nmdias/FeedKit.git from cache
Fetching https://github.com/alexaubry/HTMLString.git from cache
Fetched https://github.com/nmdias/FeedKit.git from cache (0.48s)
Fetched https://github.com/sharplet/Regex.git from cache (0.48s)
Fetched https://github.com/alexaubry/HTMLString.git from cache (0.48s)
Computing version for https://github.com/nmdias/FeedKit.git
Computed https://github.com/nmdias/FeedKit.git at 9.1.2 (0.02s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (0.02s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.02s)
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/nmdias/FeedKit.git
Working copy of https://github.com/nmdias/FeedKit.git resolved at 9.1.2
Creating working copy for https://github.com/kiliankoe/EmealKit.git
Working copy of https://github.com/kiliankoe/EmealKit.git resolved at 0.11.0 (c5a4188)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
warning: '.resolve-product-dependencies': dependency 'emealkit' is not used by any target
Found 3 product dependencies
- HTMLString
- Regex
- FeedKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kiliankoe/EmealKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/102] Emitting module FeedKit
[7/111] Emitting module Regex
[8/111] Compiling Regex ThreadLocal.swift
[9/111] Compiling Regex Regex.swift
[10/111] Emitting module HTMLString
[11/111] Compiling HTMLString NSString+HTMLString.swift
[12/111] Compiling HTMLString HTMLString.swift
[13/111] Compiling HTMLString Mappings.swift
[14/111] Compiling Regex MatchResult.swift
[15/111] Compiling Regex Foundation+Ranges.swift
[16/111] Compiling Regex Options.swift
[17/111] Compiling Regex String+ReplaceMatching.swift
[18/111] Compiling FeedKit RSSPath.swift
[19/111] Compiling FeedKit Feed.swift
[20/111] Compiling FeedKit FeedDataType.swift
[21/111] Compiling FeedKit FeedParser.swift
[22/111] Compiling FeedKit FeedParserProtocol.swift
[23/111] Compiling FeedKit JSONFeedParser.swift
[24/111] Compiling FeedKit ParserError.swift
[25/111] Compiling FeedKit XMLFeedParser.swift
[26/111] Compiling FeedKit XMLFeedType.swift
[27/111] Compiling FeedKit MediaDescription.swift
[28/111] Compiling FeedKit MediaEmbed.swift
[29/111] Compiling FeedKit MediaGroup.swift
[30/111] Compiling FeedKit MediaHash.swift
[31/111] Compiling FeedKit MediaLicence.swift
[32/111] Compiling FeedKit MediaLocation.swift
[33/111] Compiling FeedKit MediaNamespace.swift
[34/111] Compiling FeedKit MediaParam.swift
[35/111] Compiling FeedKit MediaPeerLink.swift
[36/111] Compiling FeedKit MediaPlayer.swift
[37/111] Compiling FeedKit MediaPrice.swift
[38/111] Compiling FeedKit MediaRating.swift
[39/111] Compiling FeedKit MediaRestriction.swift
[40/111] Compiling FeedKit MediaRights.swift
[41/111] Compiling FeedKit MediaScene.swift
[42/111] Compiling FeedKit MediaStarRating.swift
[43/111] Compiling FeedKit MediaStatistics.swift
[44/111] Compiling FeedKit MediaStatus.swift
[45/111] Compiling FeedKit MediaSubTitle.swift
[46/111] Compiling FeedKit MediaTag.swift
[47/111] Compiling FeedKit MediaText.swift
[48/111] Compiling FeedKit MediaThumbnail.swift
[49/111] Compiling FeedKit MediaTitle.swift
[50/111] Compiling FeedKit SyndicationNamespace.swift
[51/111] Compiling FeedKit SyndicationUpdatePeriod.swift
[52/111] Compiling FeedKit iTunesCategory.swift
[53/111] Compiling FeedKit iTunesImage.swift
[54/111] Compiling FeedKit RSSFeedImage.swift
[55/111] Compiling FeedKit RSSFeedItem.swift
[56/111] Compiling FeedKit RSSFeedItemCategory.swift
[57/111] Compiling FeedKit RSSFeedItemEnclosure.swift
[58/111] Compiling FeedKit RSSFeedItemGUID.swift
[59/111] Compiling FeedKit RSSFeedItemSource.swift
[60/111] Compiling FeedKit RSSFeedSkipDay.swift
[61/111] Compiling FeedKit RSSFeedSkipHour.swift
[62/111] Compiling FeedKit RSSFeedTextInput.swift
[63/111] Compiling FeedKit iTunesNamespace.swift
[64/111] Compiling FeedKit iTunesOwner.swift
[65/111] Compiling FeedKit iTunesSubCategory.swift
[66/111] Compiling FeedKit RDFPath.swift
[67/111] Compiling FeedKit RSSFeed + mapAttributes.swift
[68/111] Compiling FeedKit RSSFeed + mapCharacters.swift
[69/111] Compiling FeedKit RSSFeed.swift
[70/111] Compiling FeedKit RSSFeedCategory.swift
[71/111] Compiling FeedKit RSSFeedCloud.swift
[72/111] Compiling FeedKit DateSpec.swift
[73/111] Compiling FeedKit ISO8601DateFormatter.swift
[74/111] Compiling FeedKit RFC3339DateFormatter.swift
[75/111] Compiling FeedKit RFC822DateFormatter.swift
[76/111] Compiling FeedKit Array + Equatable.swift
[77/111] Compiling FeedKit Date + codingStrategy.swift
[78/111] Compiling FeedKit String + toBool.swift
[79/111] Compiling FeedKit String + toDate.swift
[80/111] Compiling FeedKit String + toDuration.swift
[81/111] Compiling FeedKit URL + replacingScheme.swift
[82/111] Compiling FeedKit JSONFeedAuthor.swift
[83/111] Compiling FeedKit JSONFeedHub.swift
[84/111] Compiling FeedKit JSONFeedItem.swift
[85/111] Compiling FeedKit ContentNamespace.swift
[86/111] Compiling FeedKit DublinCoreNamespace.swift
[87/111] Compiling FeedKit MediaCategory.swift
[88/111] Compiling FeedKit MediaCommunity.swift
[89/111] Compiling FeedKit MediaContent.swift
[90/111] Compiling FeedKit MediaCopyright.swift
[91/111] Compiling FeedKit MediaCredit.swift
[92/111] Compiling FeedKit AtomFeedEntryContributor.swift
[93/111] Compiling FeedKit AtomFeedEntryLink.swift
[94/111] Compiling FeedKit AtomFeedEntrySource.swift
[95/111] Compiling FeedKit AtomFeedEntrySummary.swift
[96/111] Compiling FeedKit AtomFeedGenerator.swift
[97/111] Compiling FeedKit AtomFeedLink.swift
[98/111] Compiling FeedKit AtomFeedSubtitle.swift
[99/111] Compiling FeedKit AtomPath.swift
[100/111] Compiling FeedKit JSONFeed.swift
[101/111] Compiling FeedKit JSONFeedAttachment.swift
[102/111] Compiling FeedKit AtomFeed + mapAttributes.swift
[103/111] Compiling FeedKit AtomFeed + mapCharacters.swift
[104/111] Compiling FeedKit AtomFeed.swift
[105/111] Compiling FeedKit AtomFeedAuthor.swift
[106/111] Compiling FeedKit AtomFeedCategory.swift
[107/111] Compiling FeedKit AtomFeedContributor.swift
[108/111] Compiling FeedKit AtomFeedEntry.swift
[109/111] Compiling FeedKit AtomFeedEntryAuthor.swift
[110/111] Compiling FeedKit AtomFeedEntryCategory.swift
[111/111] Compiling FeedKit AtomFeedEntryContent.swift
[112/130] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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"
[113/130] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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"
[114/130] 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 nonisolated 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 nonisolated 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")
[115/130] 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 nonisolated 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 nonisolated 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")
[116/130] Compiling EmealKit CardData.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/Cardservice.swift:73:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
71 | try await withCheckedThrowingContinuation { continuation in
72 | self.login(username: username, password: password, session: session) { result in
73 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/Cardservice.swift:116:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
114 | try await withCheckedThrowingContinuation { continuation in
115 | self.carddata(session: session) { result in
116 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/Cardservice.swift:197:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
195 | try await withCheckedThrowingContinuation { continuation in
196 | self.transactions(begin: begin, end: end, session: session) { result in
197 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
198 | }
199 | }
[117/130] Compiling EmealKit Cardservice.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/Cardservice.swift:73:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
71 | try await withCheckedThrowingContinuation { continuation in
72 | self.login(username: username, password: password, session: session) { result in
73 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/Cardservice.swift:116:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
114 | try await withCheckedThrowingContinuation { continuation in
115 | self.carddata(session: session) { result in
116 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Cardservice/Cardservice.swift:197:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
195 | try await withCheckedThrowingContinuation { continuation in
196 | self.transactions(begin: begin, end: end, session: session) { result in
197 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
198 | }
199 | }
[118/130] Compiling EmealKit LocalizedEmealStrings.swift
[119/130] Compiling EmealKit ObservableEmeal.swift
[120/130] Compiling EmealKit LoginResponse.swift
[121/130] Compiling EmealKit Transaction.swift
[122/130] Compiling EmealKit MealFeed.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Mensa/MealFeed.swift:56:34: warning: sending 'meals' risks causing data races; this is an error in the Swift 6 language mode
54 | )
55 | }
56 | continuation.resume(returning: meals)
| |- warning: sending 'meals' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'meals' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
57 | case .failure(let error):
58 | continuation.resume(throwing: error)
[123/130] Compiling EmealKit MensaAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmealKit/Mensa/MealFeed.swift:56:34: warning: sending 'meals' risks causing data races; this is an error in the Swift 6 language mode
54 | )
55 | }
56 | continuation.resume(returning: meals)
| |- warning: sending 'meals' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'meals' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
57 | case .failure(let error):
58 | continuation.resume(throwing: error)
[124/130] 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 | }
[125/130] 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 | }
[126/130] Compiling EmealKit Canteen.swift
[127/130] Compiling EmealKit Meal.swift
[128/130] Compiling EmealKit Emeal.swift
[129/130] Compiling EmealKit EmealDelegate.swift
[130/130] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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")
[131/131] Compiling EmealKit URLSessionProtocol.swift
Build complete! (32.64s)
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"
},
{
"identity" : "feedkit",
"requirement" : {
"range" : [
{
"lower_bound" : "9.1.2",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nmdias/FeedKit.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",
"MockData.swift",
"MockURLSession.swift"
],
"target_dependencies" : [
"EmealKit"
],
"type" : "test"
},
{
"c99name" : "EmealKit",
"module_type" : "SwiftTarget",
"name" : "EmealKit",
"path" : "Sources/EmealKit",
"product_dependencies" : [
"HTMLString",
"Regex",
"FeedKit"
],
"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/MealFeed.swift",
"Mensa/MensaAPI.swift",
"URLSessionProtocol.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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/kiliankoe/emealkit/0.11.0
Repository: kiliankoe/EmealKit
Swift version used: 6.0
Target: EmealKit
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'EmealKit'...
Finished extracting symbol information for 'EmealKit'. (4.99s)
Building documentation for 'EmealKit'...
Finished building documentation for 'EmealKit' (0.21s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/kiliankoe/emealkit/0.11.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/sharplet/Regex.git
Updating https://github.com/alexaubry/HTMLString.git
Updated https://github.com/sharplet/Regex.git (0.44s)
Updated https://github.com/alexaubry/HTMLString.git (0.49s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/nmdias/FeedKit.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Updated https://github.com/nmdias/FeedKit.git (0.44s)
Computing version for https://github.com/nmdias/FeedKit.git
Computed https://github.com/nmdias/FeedKit.git at 9.1.2 (0.54s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.54s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3180] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.62s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Emitting module SymbolKit
[11/57] Compiling SymbolKit SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Relationship.swift
[26/57] Compiling SymbolKit RelationshipKind.swift
[27/57] Compiling SymbolKit SourceOrigin.swift
[28/57] Compiling SymbolKit GenericConstraints.swift
[29/57] Compiling SymbolKit Swift.swift
[30/57] Compiling SymbolKit Identifier.swift
[31/57] Compiling SymbolKit KindIdentifier.swift
[32/57] Compiling SymbolKit Location.swift
[33/57] Compiling SymbolKit Mutability.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit DeclarationFragments.swift
[40/57] Compiling SymbolKit Fragment.swift
[41/57] Compiling SymbolKit FragmentKind.swift
[42/57] Compiling SymbolKit FunctionParameter.swift
[43/57] Compiling SymbolKit FunctionSignature.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.69s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/98] Emitting module HTMLString
[3/98] Compiling HTMLString HTMLString.swift
[4/98] Compiling HTMLString NSString+HTMLString.swift
[5/98] Compiling HTMLString Mappings.swift
[6/98] Compiling Regex ThreadLocal.swift
[7/98] Compiling Regex String+ReplaceMatching.swift
[8/98] Emitting module Regex
[9/98] Compiling Regex MatchResult.swift
[10/98] Compiling Regex Options.swift
[11/98] Compiling Regex Regex.swift
[12/98] Compiling Regex Foundation+Ranges.swift
[13/98] Emitting module FeedKit
[14/107] Compiling FeedKit MediaPlayer.swift
[15/107] Compiling FeedKit MediaPrice.swift
[16/107] Compiling FeedKit MediaRating.swift
[17/107] Compiling FeedKit MediaRestriction.swift
[18/107] Compiling FeedKit MediaRights.swift
[19/107] Compiling FeedKit MediaScene.swift
[20/107] Compiling FeedKit MediaStarRating.swift
[21/107] Compiling FeedKit MediaStatistics.swift
[22/107] Compiling FeedKit MediaStatus.swift
[23/107] Compiling FeedKit RSSFeedImage.swift
[24/107] Compiling FeedKit RSSFeedItem.swift
[25/107] Compiling FeedKit RSSFeedItemCategory.swift
[26/107] Compiling FeedKit RSSFeedItemEnclosure.swift
[27/107] Compiling FeedKit RSSFeedItemGUID.swift
[28/107] Compiling FeedKit RSSFeedItemSource.swift
[29/107] Compiling FeedKit RSSFeedSkipDay.swift
[30/107] Compiling FeedKit RSSFeedSkipHour.swift
[31/107] Compiling FeedKit RSSFeedTextInput.swift
[32/107] Compiling FeedKit RSSPath.swift
[33/107] Compiling FeedKit Feed.swift
[34/107] Compiling FeedKit FeedDataType.swift
[35/107] Compiling FeedKit FeedParser.swift
[36/107] Compiling FeedKit FeedParserProtocol.swift
[37/107] Compiling FeedKit JSONFeedParser.swift
[38/107] Compiling FeedKit ParserError.swift
[39/107] Compiling FeedKit XMLFeedParser.swift
[40/107] Compiling FeedKit XMLFeedType.swift
[41/107] Compiling FeedKit MediaDescription.swift
[42/107] Compiling FeedKit MediaEmbed.swift
[43/107] Compiling FeedKit MediaGroup.swift
[44/107] Compiling FeedKit MediaHash.swift
[45/107] Compiling FeedKit MediaLicence.swift
[46/107] Compiling FeedKit MediaLocation.swift
[47/107] Compiling FeedKit MediaNamespace.swift
[48/107] Compiling FeedKit MediaParam.swift
[49/107] Compiling FeedKit MediaPeerLink.swift
[50/107] Compiling FeedKit JSONFeedAuthor.swift
[51/107] Compiling FeedKit JSONFeedHub.swift
[52/107] Compiling FeedKit JSONFeedItem.swift
[53/107] Compiling FeedKit ContentNamespace.swift
[54/107] Compiling FeedKit DublinCoreNamespace.swift
[55/107] Compiling FeedKit MediaCategory.swift
[56/107] Compiling FeedKit MediaCommunity.swift
[57/107] Compiling FeedKit MediaContent.swift
[58/107] Compiling FeedKit MediaCopyright.swift
[59/107] Compiling FeedKit MediaCredit.swift
[60/107] Compiling FeedKit AtomFeedEntryContributor.swift
[61/107] Compiling FeedKit AtomFeedEntryLink.swift
[62/107] Compiling FeedKit AtomFeedEntrySource.swift
[63/107] Compiling FeedKit AtomFeedEntrySummary.swift
[64/107] Compiling FeedKit AtomFeedGenerator.swift
[65/107] Compiling FeedKit AtomFeedLink.swift
[66/107] Compiling FeedKit AtomFeedSubtitle.swift
[67/107] Compiling FeedKit AtomPath.swift
[68/107] Compiling FeedKit JSONFeed.swift
[69/107] Compiling FeedKit JSONFeedAttachment.swift
[70/107] Compiling FeedKit DateSpec.swift
[71/107] Compiling FeedKit ISO8601DateFormatter.swift
[72/107] Compiling FeedKit RFC3339DateFormatter.swift
[73/107] Compiling FeedKit RFC822DateFormatter.swift
[74/107] Compiling FeedKit Array + Equatable.swift
[75/107] Compiling FeedKit Date + codingStrategy.swift
[76/107] Compiling FeedKit String + toBool.swift
[77/107] Compiling FeedKit String + toDate.swift
[78/107] Compiling FeedKit String + toDuration.swift
[79/107] Compiling FeedKit URL + replacingScheme.swift
[80/107] Compiling FeedKit AtomFeed + mapAttributes.swift
[81/107] Compiling FeedKit AtomFeed + mapCharacters.swift
[82/107] Compiling FeedKit AtomFeed.swift
[83/107] Compiling FeedKit AtomFeedAuthor.swift
[84/107] Compiling FeedKit AtomFeedCategory.swift
[85/107] Compiling FeedKit AtomFeedContributor.swift
[86/107] Compiling FeedKit AtomFeedEntry.swift
[87/107] Compiling FeedKit AtomFeedEntryAuthor.swift
[88/107] Compiling FeedKit AtomFeedEntryCategory.swift
[89/107] Compiling FeedKit AtomFeedEntryContent.swift
[90/107] Compiling FeedKit iTunesNamespace.swift
[91/107] Compiling FeedKit iTunesOwner.swift
[92/107] Compiling FeedKit iTunesSubCategory.swift
[93/107] Compiling FeedKit RDFPath.swift
[94/107] Compiling FeedKit RSSFeed + mapAttributes.swift
[95/107] Compiling FeedKit RSSFeed + mapCharacters.swift
[96/107] Compiling FeedKit RSSFeed.swift
[97/107] Compiling FeedKit RSSFeedCategory.swift
[98/107] Compiling FeedKit RSSFeedCloud.swift
[99/107] Compiling FeedKit MediaSubTitle.swift
[100/107] Compiling FeedKit MediaTag.swift
[101/107] Compiling FeedKit MediaText.swift
[102/107] Compiling FeedKit MediaThumbnail.swift
[103/107] Compiling FeedKit MediaTitle.swift
[104/107] Compiling FeedKit SyndicationNamespace.swift
[105/107] Compiling FeedKit SyndicationUpdatePeriod.swift
[106/107] Compiling FeedKit iTunesCategory.swift
[107/107] Compiling FeedKit iTunesImage.swift
[108/126] Compiling EmealKit Date+short.swift
[109/126] Compiling EmealKit Double+euroString.swift
[110/127] Compiling EmealKit LoginResponse.swift
[111/127] Compiling EmealKit Transaction.swift
[112/127] Compiling EmealKit MealFeed.swift
[113/127] Compiling EmealKit MensaAPI.swift
[114/127] Compiling EmealKit URLSessionProtocol.swift
[115/127] Emitting module EmealKit
[116/127] Compiling EmealKit CardserviceAPI.swift
[117/127] Compiling EmealKit CardserviceError.swift
[118/127] Compiling EmealKit CardData.swift
[119/127] Compiling EmealKit Cardservice.swift
[120/127] Compiling EmealKit EmealError.swift
[121/127] Compiling EmealKit Logger.swift
[122/127] Compiling EmealKit LocalizedEmealStrings.swift
[123/127] Compiling EmealKit ObservableEmeal.swift
[124/127] Compiling EmealKit Emeal.swift
[125/127] Compiling EmealKit EmealDelegate.swift
[126/127] Compiling EmealKit Canteen.swift
[127/127] Compiling EmealKit Meal.swift
Build of target: 'EmealKit' complete! (2.93s)
546
4 /Users/admin/builder/spi-builder-workspace/.docs/kiliankoe/emealkit/0.11.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/kiliankoe/emealkit/0.11.0
File count: 546
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-kiliankoe-emealkit-0.11.0-fb1aec12.zip to s3://spi-docs-inbox/prod-kiliankoe-emealkit-0.11.0-fb1aec12.zip
Copying... [16%]
Copying... [23%]
Copying... [31%]
Copying... [47%]
Copying... [54%]
Copying... [62%]
Copying... [78%]
Copying... [85%]
Copying... [93%]
Copying... [100%]
Done.