Build Information
Successful build of swift-past-ten with Swift 6.0 for Linux.
Swift 6 data race errors: 8
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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-past-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-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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/renaudjenny/swift-past-ten.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/swift-dependencies
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/2244] Fetching combine-schedulers
[1572/3519] Fetching combine-schedulers, swift-clocks
[3520/5875] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
[5876/9894] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-dependencies
[6534/7538] Fetching combine-schedulers, swift-clocks, swift-dependencies
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.48s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.59s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.59s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.59s)
Computed https://github.com/pointfreeco/swift-dependencies at 0.4.1 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.4 (0.54s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.2.0 (0.56s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (0.54s)
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
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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/19] Emitting module XCTestDynamicOverlay
[9/20] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[10/20] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[11/20] Compiling XCTestDynamicOverlay Deprecations.swift
[12/20] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[13/20] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[14/20] Compiling XCTestDynamicOverlay Unimplemented.swift
[15/20] Compiling XCTestDynamicOverlay XCTFail.swift
[16/20] Compiling SwiftPastTen Utilities.swift
[17/20] Emitting module SwiftPastTen
/host/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] Compiling SwiftPastTen SwiftPastTen.swift
/host/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/21] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[23/44] Emitting module CombineSchedulers
[24/45] Compiling Clocks SwiftUI.swift
[25/45] Compiling Clocks Shims.swift
[26/46] Compiling CombineSchedulers UIScheduler.swift
[27/46] Compiling CombineSchedulers UIKit.swift
[28/46] Compiling CombineSchedulers Timer.swift
[29/46] Compiling CombineSchedulers UnimplementedScheduler.swift
[30/46] Compiling Clocks AnyClock.swift
[31/46] Compiling Clocks ImmediateClock.swift
[32/46] Compiling CombineSchedulers SwiftUI.swift
[33/46] Compiling CombineSchedulers TestScheduler.swift
[34/46] Compiling CombineSchedulers Lock.swift
[35/46] Compiling CombineSchedulers NSRecursiveLock.swift
[36/46] Compiling CombineSchedulers ImmediateScheduler.swift
[37/46] Compiling CombineSchedulers Deprecations.swift
[38/47] Compiling Clocks Timer.swift
[40/47] Compiling Clocks _AsyncTimerSequence.swift
[43/47] Emitting module Clocks
[46/47] Compiling Clocks UnimplementedClock.swift
[47/47] Compiling Clocks TestClock.swift
[49/75] Compiling Dependencies Deprecations.swift
[50/75] Compiling Dependencies Exports.swift
[51/75] Compiling Dependencies OpenExistential.swift
[52/75] Compiling Dependencies Context.swift
[53/75] Compiling Dependencies Date.swift
[54/75] Compiling Dependencies FireAndForget.swift
[55/75] Compiling Dependencies Locale.swift
[56/75] Compiling Dependencies MainQueue.swift
[57/75] Compiling Dependencies MainRunLoop.swift
[58/75] Compiling Dependencies OpenURL.swift
[59/75] Compiling Dependencies TimeZone.swift
[60/78] Compiling Dependencies Task.swift
[61/78] Compiling Dependencies UncheckedSendable.swift
[62/78] Compiling Dependencies Dependency.swift
[63/78] Compiling Dependencies DependencyContext.swift
[64/78] Compiling Dependencies ActorIsolated.swift
[65/78] Compiling Dependencies AsyncStream.swift
[66/78] Compiling Dependencies AsyncThrowingStream.swift
[67/78] Compiling Dependencies LockIsolated.swift
[68/78] Emitting module Dependencies
[69/78] Compiling Dependencies URLSession.swift
[70/78] Compiling Dependencies UUID.swift
[71/78] Compiling Dependencies WithRandomNumberGenerator.swift
[72/78] Compiling Dependencies DependencyKey.swift
[73/78] Compiling Dependencies DependencyValues.swift
[74/78] Compiling Dependencies Calendar.swift
[75/78] Compiling Dependencies Clocks.swift
[76/78] Compiling Dependencies RuntimeWarnings.swift
[77/78] Compiling Dependencies TypeName.swift
[78/78] Compiling Dependencies WithDependencies.swift
[80/81] Emitting module SwiftPastTenDependency
/host/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 | }
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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 |
[81/81] Compiling SwiftPastTenDependency SwiftPastTenDependency.swift
/host/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 | }
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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! (25.47s)
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" : "/host/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.