Build Information
Successful build of swift-past-ten, reference main (84066e
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 03:21:20 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/renaudjenny/swift-past-ten
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-clocks
[1/1278] Fetching swift-clocks
[104/3625] Fetching swift-clocks, combine-schedulers
[599/8610] Fetching swift-clocks, combine-schedulers, xctest-dynamic-overlay
[849/13834] Fetching swift-clocks, combine-schedulers, xctest-dynamic-overlay, swift-dependencies
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.50s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.50s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.50s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.50s)
Computing version for https://github.com/pointfreeco/swift-dependencies
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.68s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (0.67s)
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/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/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.8.4
========================================
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.68s)
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.73s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks from cache
Fetching https://github.com/pointfreeco/combine-schedulers from cache
[1/758] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.97s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.97s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.98s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.98s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.67s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.68s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.71s)
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.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/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/renaudjenny/swift-past-ten.git
Working copy of https://github.com/renaudjenny/swift-past-ten.git resolved at main (84066e7)
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-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.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 Deprecations.swift
[10/20] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[11/20] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[12/20] Compiling XCTestDynamicOverlay Unimplemented.swift
[13/20] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[14/20] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[15/20] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[16/20] Compiling XCTestDynamicOverlay XCTFail.swift
[17/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 |
[18/20] Compiling SwiftPastTen PastTenFormatError.swift
[19/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 |
[20/20] Compiling SwiftPastTen Utilities.swift
[21/42] Compiling CombineSchedulers UIScheduler.swift
[22/42] Compiling CombineSchedulers UIKit.swift
[23/43] Compiling Clocks Lock.swift
[24/44] Emitting module Clocks
[25/44] Compiling CombineSchedulers UnimplementedScheduler.swift
[26/44] Compiling Clocks TestClock.swift
[27/44] Compiling Clocks UnimplementedClock.swift
[28/44] Compiling CombineSchedulers Timer.swift
[29/44] Compiling CombineSchedulers TestScheduler.swift
[30/44] Compiling CombineSchedulers NSRecursiveLock.swift
[31/44] Compiling CombineSchedulers Lock.swift
[32/44] Emitting module CombineSchedulers
[33/44] Compiling CombineSchedulers AnyScheduler.swift
[34/44] Compiling CombineSchedulers Concurrency.swift
[35/44] Compiling CombineSchedulers ImmediateScheduler.swift
[36/44] Compiling CombineSchedulers Deprecations.swift
[37/44] Compiling CombineSchedulers SwiftUI.swift
[38/44] Compiling Clocks Timer.swift
[39/44] Compiling Clocks Shims.swift
[40/44] Compiling Clocks ImmediateClock.swift
[41/44] Compiling Clocks Yield.swift
[42/44] Compiling Clocks AnyClock.swift
[43/44] Compiling Clocks _AsyncTimerSequence.swift
[44/44] Compiling Clocks SwiftUI.swift
[45/72] Compiling Dependencies ActorIsolated.swift
[46/72] Compiling Dependencies AsyncStream.swift
[47/72] Compiling Dependencies AsyncThrowingStream.swift
[48/74] Compiling Dependencies LockIsolated.swift
[49/74] Compiling Dependencies Task.swift
[50/74] Compiling Dependencies UncheckedSendable.swift
[51/74] Compiling Dependencies Context.swift
[52/74] Compiling Dependencies Date.swift
[53/74] Compiling Dependencies FireAndForget.swift
[54/74] Compiling Dependencies OpenURL.swift
[55/74] Compiling Dependencies TimeZone.swift
[56/74] Compiling Dependencies URLSession.swift
[57/74] Emitting module Dependencies
[58/74] Compiling Dependencies Dependency.swift
[59/74] Compiling Dependencies DependencyContext.swift
[60/74] Compiling Dependencies DependencyKey.swift
[61/74] Compiling Dependencies UUID.swift
[62/74] Compiling Dependencies WithRandomNumberGenerator.swift
[63/74] Compiling Dependencies Deprecations.swift
[64/74] Compiling Dependencies Locale.swift
[65/74] Compiling Dependencies MainQueue.swift
[66/74] Compiling Dependencies MainRunLoop.swift
[67/74] Compiling Dependencies DependencyValues.swift
[68/74] Compiling Dependencies Calendar.swift
[69/74] Compiling Dependencies Clocks.swift
[70/74] Compiling Dependencies Exports.swift
[71/74] Compiling Dependencies OpenExistential.swift
[72/74] Compiling Dependencies RuntimeWarnings.swift
[73/74] Compiling Dependencies TypeName.swift
[74/74] Compiling Dependencies WithDependencies.swift
[75/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 |
[76/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 |
Build complete! (27.21s)
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.