Build Information
Successful build of swift-past-ten, reference 1.1.0 (84066e
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 03:21:24 UTC.
Swift 6 data race errors: 7
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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/renaudjenny/swift-past-ten.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/renaudjenny/swift-past-ten
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 84066e7 docs(README): update to mention last version an Point Free Dependecies
Cloned https://github.com/renaudjenny/swift-past-ten.git
Revision (git rev-parse @):
84066e7940d44929b7d51809d4294073d1006230
SUCCESS checkout https://github.com/renaudjenny/swift-past-ten.git at 1.1.0
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2347] Fetching combine-schedulers
[95/3625] Fetching combine-schedulers, swift-clocks
[480/8610] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
[680/13834] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-dependencies
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.51s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.51s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.51s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.51s)
Computed https://github.com/pointfreeco/swift-dependencies at 0.4.1 (0.69s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.4 (0.64s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.2.0 (0.64s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (0.65s)
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/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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.9.1
========================================
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": "swift-past-ten",
"name": "swift-past-ten",
"url": "https://github.com/renaudjenny/swift-past-ten.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-past-ten",
"dependencies": [
{
"identity": "swift-dependencies",
"name": "swift-dependencies",
"url": "https://github.com/pointfreeco/swift-dependencies",
"version": "0.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dependencies",
"dependencies": [
{
"identity": "combine-schedulers",
"name": "combine-schedulers",
"url": "https://github.com/pointfreeco/combine-schedulers",
"version": "0.11.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/combine-schedulers",
"dependencies": [
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
},
{
"identity": "swift-clocks",
"name": "swift-clocks",
"url": "https://github.com/pointfreeco/swift-clocks",
"version": "0.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-clocks",
"dependencies": [
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
},
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/renaudjenny/swift-past-ten.git
[1/192] Fetching swift-past-ten
Fetched https://github.com/renaudjenny/swift-past-ten.git from cache (0.67s)
Fetching https://github.com/pointfreeco/swift-dependencies from cache
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.47s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (0.66s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/pointfreeco/swift-clocks from cache
Fetching https://github.com/pointfreeco/combine-schedulers from cache
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.51s)
[1/758] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.96s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.96s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.96s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.68s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.65s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.68s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.03s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/renaudjenny/swift-past-ten.git
Working copy of https://github.com/renaudjenny/swift-past-ten.git resolved at 1.1.0 (84066e7)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
warning: '.resolve-product-dependencies': dependency 'swift-past-ten' is not used by any target
Found 1 product dependencies
- swift-dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/renaudjenny/swift-past-ten.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/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/20] Emitting module XCTestDynamicOverlay
[9/20] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[10/20] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[11/20] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[12/20] Emitting module SwiftPastTen
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:16:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: consider making struct 'SwiftPastTen' conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
:
14 |
15 | extension SwiftPastTen {
16 | public static let live = Self(tellTime: { try TellTime().tell(time: $0) })
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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
17 | }
18 |
[13/20] Compiling SwiftPastTen Utilities.swift
[14/20] Compiling SwiftPastTen SwiftPastTen.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:16:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: consider making struct 'SwiftPastTen' conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
:
14 |
15 | extension SwiftPastTen {
16 | public static let live = Self(tellTime: { try TellTime().tell(time: $0) })
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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
17 | }
18 |
[15/20] Compiling SwiftPastTen PastTenFormatError.swift
[16/20] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[17/20] Compiling XCTestDynamicOverlay XCTFail.swift
[18/20] Compiling XCTestDynamicOverlay Deprecations.swift
[19/20] Compiling XCTestDynamicOverlay Unimplemented.swift
[20/20] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[21/42] Compiling Clocks ImmediateClock.swift
[22/43] Compiling Clocks AnyClock.swift
[23/43] Compiling Clocks _AsyncTimerSequence.swift
[24/43] Compiling Clocks Yield.swift
[25/43] Emitting module Clocks
[26/43] Compiling Clocks Lock.swift
[27/43] Compiling Clocks Shims.swift
[28/43] Compiling CombineSchedulers UIScheduler.swift
[29/43] Compiling CombineSchedulers Timer.swift
[30/44] Compiling CombineSchedulers TestScheduler.swift
[31/44] Compiling CombineSchedulers NSRecursiveLock.swift
[32/44] Compiling CombineSchedulers UIKit.swift
[33/44] Compiling Clocks UnimplementedClock.swift
[34/44] Compiling CombineSchedulers UnimplementedScheduler.swift
[35/44] Compiling Clocks TestClock.swift
[36/44] Compiling Clocks Timer.swift
[37/44] Compiling CombineSchedulers Lock.swift
[38/44] Compiling Clocks SwiftUI.swift
[39/44] Compiling CombineSchedulers ImmediateScheduler.swift
[40/44] Compiling CombineSchedulers Deprecations.swift
[41/44] Compiling CombineSchedulers SwiftUI.swift
[42/44] Emitting module CombineSchedulers
[43/44] Compiling CombineSchedulers AnyScheduler.swift
[44/44] Compiling CombineSchedulers Concurrency.swift
[45/72] Compiling Dependencies Exports.swift
[46/72] Compiling Dependencies OpenExistential.swift
[47/72] Compiling Dependencies RuntimeWarnings.swift
[48/72] Compiling Dependencies Locale.swift
[49/72] Compiling Dependencies MainQueue.swift
[50/72] Compiling Dependencies MainRunLoop.swift
[51/72] Compiling Dependencies LockIsolated.swift
[52/72] Compiling Dependencies Task.swift
[53/72] Compiling Dependencies UncheckedSendable.swift
[54/74] Compiling Dependencies OpenURL.swift
[55/74] Compiling Dependencies TimeZone.swift
[56/74] Compiling Dependencies URLSession.swift
[57/74] Compiling Dependencies UUID.swift
[58/74] Compiling Dependencies WithRandomNumberGenerator.swift
[59/74] Compiling Dependencies Deprecations.swift
[60/74] Compiling Dependencies ActorIsolated.swift
[61/74] Compiling Dependencies AsyncStream.swift
[62/74] Compiling Dependencies AsyncThrowingStream.swift
[63/74] Compiling Dependencies Dependency.swift
[64/74] Compiling Dependencies DependencyContext.swift
[65/74] Compiling Dependencies DependencyKey.swift
[66/74] Emitting module Dependencies
[67/74] Compiling Dependencies Context.swift
[68/74] Compiling Dependencies Date.swift
[69/74] Compiling Dependencies FireAndForget.swift
[70/74] Compiling Dependencies DependencyValues.swift
[71/74] Compiling Dependencies Calendar.swift
[72/74] Compiling Dependencies Clocks.swift
[73/74] Compiling Dependencies TypeName.swift
[74/74] Compiling Dependencies WithDependencies.swift
[75/76] Compiling SwiftPastTenDependency SwiftPastTenDependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:6:16: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension SwiftPastTen {
6 | static let preview = SwiftPastTen.live
| `- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let test = Self(tellTime: unimplemented("SwiftPastTen.tellTime"))
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftPastTen'
1 | import Dependencies
2 | @_exported import SwiftPastTen
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftPastTen'
3 | import XCTestDynamicOverlay
4 |
5 | extension SwiftPastTen {
6 | static let preview = SwiftPastTen.live
| |- 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
7 | static let test = Self(tellTime: unimplemented("SwiftPastTen.tellTime"))
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:7:16: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftPastTen {
6 | static let preview = SwiftPastTen.live
7 | static let test = Self(tellTime: unimplemented("SwiftPastTen.tellTime"))
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:11:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | private enum SwiftPastTenDependencyKey: DependencyKey {
11 | static let liveValue = SwiftPastTen.live
| |- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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
12 | static let previewValue = SwiftPastTen.preview
13 | static let testValue = SwiftPastTen.test
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:12:16: warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private enum SwiftPastTenDependencyKey: DependencyKey {
11 | static let liveValue = SwiftPastTen.live
12 | static let previewValue = SwiftPastTen.preview
| |- warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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
13 | static let testValue = SwiftPastTen.test
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:13:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
11 | static let liveValue = SwiftPastTen.live
12 | static let previewValue = SwiftPastTen.preview
13 | static let testValue = SwiftPastTen.test
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:10:14: warning: type 'SwiftPastTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | private enum SwiftPastTenDependencyKey: DependencyKey {
| `- warning: type 'SwiftPastTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | static let liveValue = SwiftPastTen.live
12 | static let previewValue = SwiftPastTen.preview
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
[76/76] Emitting module SwiftPastTenDependency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:6:16: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension SwiftPastTen {
6 | static let preview = SwiftPastTen.live
| `- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let test = Self(tellTime: unimplemented("SwiftPastTen.tellTime"))
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftPastTen'
1 | import Dependencies
2 | @_exported import SwiftPastTen
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftPastTen'
3 | import XCTestDynamicOverlay
4 |
5 | extension SwiftPastTen {
6 | static let preview = SwiftPastTen.live
| |- 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
7 | static let test = Self(tellTime: unimplemented("SwiftPastTen.tellTime"))
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:7:16: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftPastTen {
6 | static let preview = SwiftPastTen.live
7 | static let test = Self(tellTime: unimplemented("SwiftPastTen.tellTime"))
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:11:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | private enum SwiftPastTenDependencyKey: DependencyKey {
11 | static let liveValue = SwiftPastTen.live
| |- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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
12 | static let previewValue = SwiftPastTen.preview
13 | static let testValue = SwiftPastTen.test
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:12:16: warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private enum SwiftPastTenDependencyKey: DependencyKey {
11 | static let liveValue = SwiftPastTen.live
12 | static let previewValue = SwiftPastTen.preview
| |- warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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
13 | static let testValue = SwiftPastTen.test
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:13:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' may have shared mutable state; this is an error in the Swift 6 language mode
11 | static let liveValue = SwiftPastTen.live
12 | static let previewValue = SwiftPastTen.preview
13 | static let testValue = SwiftPastTen.test
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'SwiftPastTen' 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 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTenDependency/SwiftPastTenDependency.swift:10:14: warning: type 'SwiftPastTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | private enum SwiftPastTenDependencyKey: DependencyKey {
| `- warning: type 'SwiftPastTen' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | static let liveValue = SwiftPastTen.live
12 | static let previewValue = SwiftPastTen.preview
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPastTen/SwiftPastTen.swift:3:15: note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SwiftPastTen {
| `- note: struct 'SwiftPastTen' does not conform to the 'Sendable' protocol
4 | public var tellTime: (String) throws -> String
5 |
Build complete! (27.01s)
Build complete.
{
"dependencies" : [
{
"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-past-ten",
"name" : "swift-past-ten",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftPastTen",
"targets" : [
"SwiftPastTen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftPastTenDependency",
"targets" : [
"SwiftPastTenDependency"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftPastTenTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPastTenTests",
"path" : "Tests/SwiftPastTenTests",
"sources" : [
"SwiftPastTenTests.swift",
"UtilitiesTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftPastTen"
],
"type" : "test"
},
{
"c99name" : "SwiftPastTenDependency",
"module_type" : "SwiftTarget",
"name" : "SwiftPastTenDependency",
"path" : "Sources/SwiftPastTenDependency",
"product_dependencies" : [
"Dependencies"
],
"product_memberships" : [
"SwiftPastTenDependency"
],
"sources" : [
"SwiftPastTenDependency.swift"
],
"target_dependencies" : [
"SwiftPastTen"
],
"type" : "library"
},
{
"c99name" : "SwiftPastTen",
"module_type" : "SwiftTarget",
"name" : "SwiftPastTen",
"path" : "Sources/SwiftPastTen",
"product_memberships" : [
"SwiftPastTen",
"SwiftPastTenDependency"
],
"sources" : [
"PastTenFormatError.swift",
"SwiftPastTen.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.