Build Information
Successful build of swift-to-ten with Swift 6.0 for Linux.
Swift 6 data race errors: 8
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/renaudjenny/swift-to-ten.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/renaudjenny/swift-to-ten
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3a87adf docs(README): add Swift Package Index badges
Cloned https://github.com/renaudjenny/swift-to-ten.git
Revision (git rev-parse @):
3a87adf99b71a5c2171c4364e21311e3687171d5
SUCCESS checkout https://github.com/renaudjenny/swift-to-ten.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/renaudjenny/swift-to-ten.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-dependencies
[1/187] Fetching swiftregex5
[127/2431] Fetching swiftregex5, combine-schedulers
[2432/3706] Fetching swiftregex5, combine-schedulers, swift-clocks
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.30s)
[1/2356] Fetching xctest-dynamic-overlay
[2357/6375] Fetching xctest-dynamic-overlay, swift-dependencies
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.45s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.45s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.45s)
[201/4019] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.59s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.4.1 (0.58s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 5.2.1 (0.53s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.4 (0.55s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.2.0 (0.55s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (0.59s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.8.4
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.4.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.2.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.9.1
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 5.2.1
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/18] Emitting module XCTestDynamicOverlay
[10/19] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[11/19] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[12/19] Compiling XCTestDynamicOverlay Deprecations.swift
[13/19] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[14/19] Compiling XCTestDynamicOverlay Unimplemented.swift
[15/19] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[16/19] Compiling XCTestDynamicOverlay XCTFail.swift
[17/19] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[19/20] Emitting module SwiftRegex
[20/20] Compiling SwiftRegex TupleRegex.swift
[22/43] Compiling Clocks AnyClock.swift
[23/43] Compiling Clocks ImmediateClock.swift
[24/43] Compiling CombineSchedulers Lock.swift
[25/43] Compiling CombineSchedulers NSRecursiveLock.swift
[26/44] Compiling Clocks Lock.swift
[27/44] Compiling Clocks Yield.swift
[28/44] Emitting module CombineSchedulers
[29/44] Compiling CombineSchedulers UIScheduler.swift
[30/44] Compiling CombineSchedulers UIKit.swift
[31/44] Compiling CombineSchedulers Timer.swift
[32/44] Compiling CombineSchedulers SwiftUI.swift
[33/44] Compiling CombineSchedulers TestScheduler.swift
[34/44] Compiling Clocks Timer.swift
[35/47] Compiling CombineSchedulers UnimplementedScheduler.swift
[37/48] Emitting module SwiftToTen
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:17:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: consider making struct 'SwiftToTen' conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
:
15 |
16 | extension SwiftToTen {
17 | public static let live = Self(recognizeTime: { RecognizeTime(calendar: $1).recognizeTime(in: $0) })
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' 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
18 | }
19 |
[38/48] Compiling Clocks UnimplementedClock.swift
[39/48] Compiling SwiftToTen SwiftToTen.swift
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:17:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: consider making struct 'SwiftToTen' conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
:
15 |
16 | extension SwiftToTen {
17 | public static let live = Self(recognizeTime: { RecognizeTime(calendar: $1).recognizeTime(in: $0) })
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' 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
18 | }
19 |
[40/48] Emitting module Clocks
[45/48] Compiling Clocks _AsyncTimerSequence.swift
[47/49] Compiling Clocks Shims.swift
[48/49] Compiling Clocks SwiftUI.swift
[49/49] Compiling Clocks TestClock.swift
[51/77] Compiling Dependencies Deprecations.swift
[52/77] Compiling Dependencies Exports.swift
[53/77] Compiling Dependencies OpenExistential.swift
[54/80] Compiling Dependencies ActorIsolated.swift
[55/80] Compiling Dependencies AsyncStream.swift
[56/80] Compiling Dependencies AsyncThrowingStream.swift
[57/80] Compiling Dependencies LockIsolated.swift
[58/80] Compiling Dependencies MainQueue.swift
[59/80] Compiling Dependencies MainRunLoop.swift
[60/80] Compiling Dependencies OpenURL.swift
[61/80] Compiling Dependencies TimeZone.swift
[62/80] Compiling Dependencies Context.swift
[63/80] Compiling Dependencies Date.swift
[64/80] Compiling Dependencies FireAndForget.swift
[65/80] Compiling Dependencies Locale.swift
[66/80] Compiling Dependencies Task.swift
[67/80] Compiling Dependencies UncheckedSendable.swift
[68/80] Compiling Dependencies Dependency.swift
[69/80] Compiling Dependencies DependencyContext.swift
[70/80] Emitting module Dependencies
[71/80] Compiling Dependencies URLSession.swift
[72/80] Compiling Dependencies UUID.swift
[73/80] Compiling Dependencies WithRandomNumberGenerator.swift
[74/80] Compiling Dependencies DependencyKey.swift
[75/80] Compiling Dependencies DependencyValues.swift
[76/80] Compiling Dependencies Calendar.swift
[77/80] Compiling Dependencies Clocks.swift
[78/80] Compiling Dependencies RuntimeWarnings.swift
[79/80] Compiling Dependencies TypeName.swift
[80/80] Compiling Dependencies WithDependencies.swift
[82/83] Emitting module SwiftToTenDependency
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:7:16: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | extension SwiftToTen {
7 | static let test = Self(recognizeTime: unimplemented("SwiftToTen.recognizeTime"))
| `- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
8 | static let preview = SwiftToTen.live
9 | }
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftToTen'
1 | import Dependencies
2 | import Foundation
3 | @_exported import SwiftToTen
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftToTen'
4 | import XCTestDynamicOverlay
5 |
6 | extension SwiftToTen {
7 | static let test = Self(recognizeTime: unimplemented("SwiftToTen.recognizeTime"))
| |- note: annotate 'test' 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
8 | static let preview = SwiftToTen.live
9 | }
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:8:16: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
6 | extension SwiftToTen {
7 | static let test = Self(recognizeTime: unimplemented("SwiftToTen.recognizeTime"))
8 | static let preview = SwiftToTen.live
| |- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preview' 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
9 | }
10 |
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:17:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: consider making struct 'SwiftToTen' conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
:
15 |
16 | extension SwiftToTen {
17 | public static let live = Self(recognizeTime: { RecognizeTime(calendar: $1).recognizeTime(in: $0) })
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' 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
18 | }
19 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:12:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private enum SwiftToTenDependencyKey: DependencyKey {
12 | static let liveValue = SwiftToTen.live
| |- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'liveValue' 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
13 | static let testValue = SwiftToTen.test
14 | static let previewValue = SwiftToTen.preview
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:13:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
11 | private enum SwiftToTenDependencyKey: DependencyKey {
12 | static let liveValue = SwiftToTen.live
13 | static let testValue = SwiftToTen.test
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'testValue' 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
14 | static let previewValue = SwiftToTen.preview
15 | }
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:14:16: warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let liveValue = SwiftToTen.live
13 | static let testValue = SwiftToTen.test
14 | static let previewValue = SwiftToTen.preview
| |- warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'previewValue' 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
15 | }
16 |
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:11:14: warning: type 'SwiftToTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private enum SwiftToTenDependencyKey: DependencyKey {
| `- warning: type 'SwiftToTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | static let liveValue = SwiftToTen.live
13 | static let testValue = SwiftToTen.test
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
[83/83] Compiling SwiftToTenDependency SwiftToTenDependency.swift
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:7:16: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | extension SwiftToTen {
7 | static let test = Self(recognizeTime: unimplemented("SwiftToTen.recognizeTime"))
| `- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
8 | static let preview = SwiftToTen.live
9 | }
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftToTen'
1 | import Dependencies
2 | import Foundation
3 | @_exported import SwiftToTen
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftToTen'
4 | import XCTestDynamicOverlay
5 |
6 | extension SwiftToTen {
7 | static let test = Self(recognizeTime: unimplemented("SwiftToTen.recognizeTime"))
| |- note: annotate 'test' 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
8 | static let preview = SwiftToTen.live
9 | }
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:8:16: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
6 | extension SwiftToTen {
7 | static let test = Self(recognizeTime: unimplemented("SwiftToTen.recognizeTime"))
8 | static let preview = SwiftToTen.live
| |- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preview' 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
9 | }
10 |
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:17:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: consider making struct 'SwiftToTen' conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
:
15 |
16 | extension SwiftToTen {
17 | public static let live = Self(recognizeTime: { RecognizeTime(calendar: $1).recognizeTime(in: $0) })
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' 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
18 | }
19 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:12:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private enum SwiftToTenDependencyKey: DependencyKey {
12 | static let liveValue = SwiftToTen.live
| |- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'liveValue' 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
13 | static let testValue = SwiftToTen.test
14 | static let previewValue = SwiftToTen.preview
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:13:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
11 | private enum SwiftToTenDependencyKey: DependencyKey {
12 | static let liveValue = SwiftToTen.live
13 | static let testValue = SwiftToTen.test
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'testValue' 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
14 | static let previewValue = SwiftToTen.preview
15 | }
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:14:16: warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let liveValue = SwiftToTen.live
13 | static let testValue = SwiftToTen.test
14 | static let previewValue = SwiftToTen.preview
| |- warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftToTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'previewValue' 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
15 | }
16 |
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
/host/spi-builder-workspace/Sources/SwiftToTenDependency/SwiftToTenDependency.swift:11:14: warning: type 'SwiftToTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private enum SwiftToTenDependencyKey: DependencyKey {
| `- warning: type 'SwiftToTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | static let liveValue = SwiftToTen.live
13 | static let testValue = SwiftToTen.test
/host/spi-builder-workspace/Sources/SwiftToTen/SwiftToTen.swift:4:15: note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
2 | import SwiftRegex
3 |
4 | public struct SwiftToTen {
| `- note: struct 'SwiftToTen' does not conform to the 'Sendable' protocol
5 | public var recognizeTime: (String, Calendar) -> Date?
6 |
Build complete! (23.48s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftregex5",
"requirement" : {
"range" : [
{
"lower_bound" : "5.2.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnno1962/SwiftRegex5"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies"
}
],
"manifest_display_name" : "swift-to-ten",
"name" : "swift-to-ten",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SwiftToTen",
"targets" : [
"SwiftToTen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToTenDependency",
"targets" : [
"SwiftToTenDependency"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftToTenTests",
"module_type" : "SwiftTarget",
"name" : "SwiftToTenTests",
"path" : "Tests/SwiftToTenTests",
"sources" : [
"SwiftToTenTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftToTen"
],
"type" : "test"
},
{
"c99name" : "SwiftToTenDependency",
"module_type" : "SwiftTarget",
"name" : "SwiftToTenDependency",
"path" : "Sources/SwiftToTenDependency",
"product_dependencies" : [
"Dependencies"
],
"product_memberships" : [
"SwiftToTenDependency"
],
"sources" : [
"SwiftToTenDependency.swift"
],
"target_dependencies" : [
"SwiftToTen"
],
"type" : "library"
},
{
"c99name" : "SwiftToTen",
"module_type" : "SwiftTarget",
"name" : "SwiftToTen",
"path" : "Sources/SwiftToTen",
"product_dependencies" : [
"SwiftRegex"
],
"product_memberships" : [
"SwiftToTen",
"SwiftToTenDependency"
],
"sources" : [
"SwiftToTen.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.