Build Information
Successful build of swift-utils, reference main (620de2
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:14:37 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-utils.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fwcd/swift-utils
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 620de2d Bump GH pages actions
Cloned https://github.com/fwcd/swift-utils.git
Revision (git rev-parse @):
620de2dea14361be51ce5d018a958bafb78d7320
SUCCESS checkout https://github.com/fwcd/swift-utils.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fwcd/swift-utils.git
https://github.com/fwcd/swift-utils.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MaxDesiatov/XMLCoder.git"
}
],
"manifest_display_name" : "swift-utils",
"name" : "swift-utils",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Utils",
"targets" : [
"Utils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UtilsTests",
"module_type" : "SwiftTarget",
"name" : "UtilsTests",
"path" : "Tests/UtilsTests",
"sources" : [
"Collections/AvlTreeTests.swift",
"Collections/BiDictionaryTests.swift",
"Collections/BinaryHeapTests.swift",
"Collections/BitArrayTests.swift",
"Collections/CircularArrayTests.swift",
"Collections/CollectionUtilsTests.swift",
"Collections/StablePriorityQueueTests.swift",
"Extensions/AsyncExtensionsTests.swift",
"Extensions/StringExtensionsTests.swift",
"Numerics/ComplexTests.swift",
"Numerics/FibonacciSequenceTests.swift",
"Numerics/Mat2Tests.swift",
"Numerics/MathUtilsTests.swift",
"Numerics/MatrixTests.swift",
"Numerics/NDArrayTests.swift",
"Numerics/RationalTests.swift",
"Parsing/TokenIteratorTests.swift",
"Processes/ShellTests.swift"
],
"target_dependencies" : [
"Utils"
],
"type" : "test"
},
{
"c99name" : "Utils",
"module_type" : "SwiftTarget",
"name" : "Utils",
"path" : "Sources/Utils",
"product_dependencies" : [
"Logging",
"SwiftSoup",
"XMLCoder"
],
"product_memberships" : [
"Utils"
],
"sources" : [
"Asynchrony/Promise.swift",
"Asynchrony/PromiseUtils.swift",
"Collections/ArrayUtils.swift",
"Collections/AvlTree.swift",
"Collections/BiDictionary.swift",
"Collections/BinaryHeap.swift",
"Collections/BitArray.swift",
"Collections/CircularArray.swift",
"Collections/ExpiringList.swift",
"Collections/FixedArray.swift",
"Collections/LazyDictionary.swift",
"Collections/PriorityQueue.swift",
"Collections/SearchTree.swift",
"Collections/StablePriorityQueue.swift",
"Concurrency/UncheckedSendable.swift",
"Extensions/Array+Extensions.swift",
"Extensions/ChoiceOf+Extensions.swift",
"Extensions/Collection+Extensions.swift",
"Extensions/Dictionary+Extensions.swift",
"Extensions/Optional+Extensions.swift",
"Extensions/RandomAccessCollection+Extensions.swift",
"Extensions/Result+Extensions.swift",
"Extensions/Sequence+Extensions.swift",
"Extensions/StringProtocol+Extensions.swift",
"Extensions/TimeInterval+Extensions.swift",
"Filesystem/TemporaryDirectory.swift",
"Filesystem/TemporaryFile.swift",
"Iterators/PeekableIterator.swift",
"Metaprogramming/ConstBoolTypes.swift",
"Metaprogramming/ConstIntTypes.swift",
"Misc/AsyncRunnable.swift",
"Misc/CompareUtils.swift",
"Misc/DefaultInitializable.swift",
"Misc/DiskFileError.swift",
"Misc/KeyParameterizable.swift",
"Misc/Runnable.swift",
"Misc/Startable.swift",
"Misc/StringBuilder.swift",
"Misc/StringEnum.swift",
"Misc/UnionStringEnum.swift",
"Networking/AddressUtils.swift",
"Networking/NetworkError.swift",
"Numerics/Axis.swift",
"Numerics/Complex.swift",
"Numerics/Direction.swift",
"Numerics/FibonacciSequence.swift",
"Numerics/Mat2.swift",
"Numerics/MathUtils.swift",
"Numerics/Matrix.swift",
"Numerics/NDArray.swift",
"Numerics/NDArrayError.swift",
"Numerics/NDArrayParser.swift",
"Numerics/NDArrayParserError.swift",
"Numerics/Rational.swift",
"Numerics/Vec2.swift",
"Numerics/Vector.swift",
"Operations/Absolutable.swift",
"Operations/Addable.swift",
"Operations/AnyAsyncBijection.swift",
"Operations/AnyBijection.swift",
"Operations/AsyncBijection.swift",
"Operations/Bijection.swift",
"Operations/ComposedAsyncBijection.swift",
"Operations/ComposedBijection.swift",
"Operations/Divisible.swift",
"Operations/IdentityBijection.swift",
"Operations/IntExpressibleAlgebraicField.swift",
"Operations/InverseAsyncBijection.swift",
"Operations/InverseBijection.swift",
"Operations/Magnitudable.swift",
"Operations/Multipliable.swift",
"Operations/Negatable.swift",
"Operations/Remainderable.swift",
"Operations/Scaling.swift",
"Operations/Subtractable.swift",
"Operations/Translation.swift",
"Operations/UnsignedConvertible.swift",
"Parsing/LegacyRegex.swift",
"Parsing/TokenIterator.swift",
"Processes/NodePackage.swift",
"Processes/Shell.swift",
"Ranges/LowBoundedIntRange.swift",
"Ranges/RangeUtils.swift",
"Scheduling/RepeatingTimer.swift",
"Scheduling/TimerContext.swift",
"Serialization/AnyCodable.swift",
"Serialization/AnyCodingKey.swift",
"Serialization/AutoSerializing.swift",
"Serialization/DiskJsonSerializer.swift",
"Serialization/EncodeError.swift",
"Statistics/Averager.swift",
"Statistics/CustomDiscreteDistribution.swift",
"Statistics/Distribution.swift",
"Synchronization/MutexLock.swift",
"Synchronization/Synchronized.swift",
"Time/Time.swift",
"Web/DocumentToMarkdownConverter.swift",
"Web/HTTPRequest.swift",
"Wrappers/AsyncLazyExpiring.swift",
"Wrappers/Binding.swift",
"Wrappers/Box.swift",
"Wrappers/Expiring.swift",
"Wrappers/Lazy.swift",
"Wrappers/PhantomWrapped.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/113] Compiling Logging LogHandler.swift
[9/113] Compiling Logging Logging.swift
[10/113] Emitting module Logging
[11/113] Compiling Logging Locks.swift
[12/113] Compiling Logging MetadataProvider.swift
[13/113] Emitting module SwiftSoup
[14/119] Compiling XMLCoder KeyedBox.swift
[15/119] Compiling XMLCoder NullBox.swift
[16/119] Compiling XMLCoder SharedBox.swift
[17/119] Compiling XMLCoder SingleKeyedBox.swift
[18/119] Compiling XMLCoder StringBox.swift
[19/124] Compiling XMLCoder XMLChoiceCodingKey.swift
[20/124] Compiling XMLCoder XMLCoderElement.swift
[21/124] Compiling SwiftSoup NodeVisitor.swift
[22/124] Compiling SwiftSoup Token.swift
[23/124] Compiling SwiftSoup TokenQueue.swift
[24/124] Compiling XMLCoder DateBox.swift
[25/124] Compiling XMLCoder DecimalBox.swift
[26/124] Compiling XMLCoder DoubleBox.swift
[27/124] Compiling XMLCoder FloatBox.swift
[28/124] Compiling XMLCoder IntBox.swift
[29/124] Emitting module XMLCoder
[30/124] Compiling XMLCoder Attribute.swift
[31/124] Compiling XMLCoder BoolBox.swift
[32/124] Compiling XMLCoder Box.swift
[33/124] Compiling XMLCoder ChoiceBox.swift
[34/124] Compiling XMLCoder DataBox.swift
[35/124] Compiling SwiftSoup DocumentType.swift
[36/124] Compiling SwiftSoup Element.swift
[37/124] Compiling SwiftSoup OrderedSet.swift
[38/124] Compiling SwiftSoup ParseError.swift
[39/124] Compiling SwiftSoup ParseErrorList.swift
[40/124] Compiling SwiftSoup StringBuilder.swift
[41/124] Compiling SwiftSoup StringUtil.swift
[42/124] Compiling SwiftSoup StructuralEvaluator.swift
[43/124] Compiling SwiftSoup SwiftSoup.swift
[44/124] Compiling SwiftSoup Tag.swift
[45/124] Compiling SwiftSoup Entities.swift
[46/124] Compiling SwiftSoup Evaluator.swift
[47/124] Compiling SwiftSoup Exception.swift
[48/124] Compiling SwiftSoup FormElement.swift
[49/124] Compiling SwiftSoup HtmlTreeBuilder.swift
[50/124] Compiling SwiftSoup Tokeniser.swift
[51/124] Compiling SwiftSoup TokeniserState.swift
[52/124] Compiling SwiftSoup TreeBuilder.swift
[53/124] Compiling SwiftSoup UTF8Arrays.swift
[54/124] Compiling SwiftSoup Elements.swift
[55/124] Compiling SwiftSoup TextNode.swift
[56/124] Compiling SwiftSoup CssSelector.swift
[57/124] Compiling SwiftSoup DataNode.swift
[58/124] Compiling SwiftSoup DataUtil.swift
[59/124] Compiling SwiftSoup Document.swift
[69/124] Compiling XMLCoder XMLEncoderImplementation.swift
[70/124] Compiling XMLCoder XMLEncodingStorage.swift
[71/124] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[72/124] Compiling XMLCoder XMLReferencingEncoder.swift
[73/124] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[74/124] Compiling SwiftSoup SerializationException.swift
[75/124] Compiling SwiftSoup SimpleDictionary.swift
[76/124] Compiling SwiftSoup StreamReader.swift
[77/124] Compiling SwiftSoup String.swift
[119/124] Compiling SwiftSoup UnfairLock.swift
[120/124] Compiling SwiftSoup UnicodeScalar.swift
[121/124] Compiling SwiftSoup Validate.swift
[122/124] Compiling SwiftSoup Whitelist.swift
[123/124] Compiling SwiftSoup XmlDeclaration.swift
[124/124] Compiling SwiftSoup XmlTreeBuilder.swift
[125/219] Emitting module Utils
[126/229] Compiling Utils Subtractable.swift
[127/229] Compiling Utils Translation.swift
[128/229] Compiling Utils UnsignedConvertible.swift
[129/229] Compiling Utils LegacyRegex.swift
[130/229] Compiling Utils TokenIterator.swift
[131/229] Compiling Utils NodePackage.swift
[132/229] Compiling Utils Shell.swift
[133/229] Compiling Utils LowBoundedIntRange.swift
[134/229] Compiling Utils RangeUtils.swift
[135/229] Compiling Utils RepeatingTimer.swift
[136/229] Compiling Utils DiskFileError.swift
[137/229] Compiling Utils KeyParameterizable.swift
[138/229] Compiling Utils Runnable.swift
[139/229] Compiling Utils Startable.swift
[140/229] Compiling Utils StringBuilder.swift
[141/229] Compiling Utils StringEnum.swift
[142/229] Compiling Utils UnionStringEnum.swift
[143/229] Compiling Utils AddressUtils.swift
[144/229] Compiling Utils NetworkError.swift
[145/229] Compiling Utils Axis.swift
[146/229] Compiling Utils Complex.swift
[147/229] Compiling Utils PriorityQueue.swift
[148/229] Compiling Utils SearchTree.swift
[149/229] Compiling Utils StablePriorityQueue.swift
[150/229] Compiling Utils UncheckedSendable.swift
[151/229] Compiling Utils Array+Extensions.swift
[152/229] Compiling Utils ChoiceOf+Extensions.swift
[153/229] Compiling Utils Collection+Extensions.swift
[154/229] Compiling Utils Dictionary+Extensions.swift
[155/229] Compiling Utils Optional+Extensions.swift
[156/229] Compiling Utils RandomAccessCollection+Extensions.swift
[157/229] Compiling Utils Result+Extensions.swift
[158/229] Compiling Utils Divisible.swift
[159/229] Compiling Utils IdentityBijection.swift
[160/229] Compiling Utils IntExpressibleAlgebraicField.swift
[161/229] Compiling Utils InverseAsyncBijection.swift
[162/229] Compiling Utils InverseBijection.swift
[163/229] Compiling Utils Magnitudable.swift
[164/229] Compiling Utils Multipliable.swift
[165/229] Compiling Utils Negatable.swift
[166/229] Compiling Utils Remainderable.swift
[167/229] Compiling Utils Scaling.swift
[168/229] Compiling Utils TimerContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[169/229] Compiling Utils AnyCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[170/229] Compiling Utils AnyCodingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[171/229] Compiling Utils AutoSerializing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[172/229] Compiling Utils DiskJsonSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[173/229] Compiling Utils EncodeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[174/229] Compiling Utils Averager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[175/229] Compiling Utils CustomDiscreteDistribution.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[176/229] Compiling Utils Distribution.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[177/229] Compiling Utils MutexLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:22:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
20 | public var projectedValue: Binding<T> {
21 | Binding { [self] in
22 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | } set: { [self] in
24 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Serialization/AutoSerializing.swift:24:13: warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 | /** Wraps a value that is automatically read from/written to a file. */
6 | @propertyWrapper
7 | public class AutoSerializing<T: Codable> {
| `- note: generic class 'AutoSerializing' does not conform to the 'Sendable' protocol
8 | private let serializer = DiskJsonSerializer()
9 | private let filePath: String
:
22 | wrappedValue
23 | } set: { [self] in
24 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'AutoSerializing<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[178/229] Compiling Utils Synchronized.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[179/229] Compiling Utils Time.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[180/229] Compiling Utils DocumentToMarkdownConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[181/229] Compiling Utils HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[182/229] Compiling Utils AsyncLazyExpiring.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[183/229] Compiling Utils Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[184/229] Compiling Utils Box.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[185/229] Compiling Utils Expiring.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[186/229] Compiling Utils Lazy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[187/229] Compiling Utils PhantomWrapped.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/AsyncLazyExpiring.swift:30:33: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
6 | /// A value that periodically expires and gets re-queried
7 | /// through a supplied getter.
8 | public actor AsyncLazyExpiring<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | public let expiryInterval: TimeInterval
10 | public private(set) var nextExpiry: Date? = nil
:
28 |
29 | private func update() async throws {
30 | cachedValue = try await getter()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
31 | nextExpiry = Date(timeInterval: expiryInterval, since: Date())
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:31:13: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | /// A mutable, reference-like property wrapper that can read and write a value.
2 | @propertyWrapper
3 | public struct Binding<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private let _get: @Sendable () -> Value
5 | private let _set: @Sendable (Value) -> Void
:
29 | public static func constant(_ value: Value) -> Binding<Value> {
30 | Binding {
31 | value
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
32 | } set: { _ in }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:38:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | public subscript<U>(dynamicMember keyPath: WritableKeyPath<Value, U>) -> Binding<U> {
37 | Binding<U> {
38 | wrappedValue[keyPath: keyPath]
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Binding.swift:40:35: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | wrappedValue[keyPath: keyPath]
39 | } set: {
40 | wrappedValue[keyPath: keyPath] = $0
| `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Value, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:12:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
10 | public var projectedValue: Binding<T> {
11 | Binding { [self] in
12 | wrappedValue
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | } set: { [self] in
14 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Utils/Wrappers/Box.swift:14:13: warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | /// writing a class.
5 | @propertyWrapper
6 | public class Box<T> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
7 | public var wrappedValue: T
8 |
:
12 | wrappedValue
13 | } set: { [self] in
14 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Box<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 | }
[188/229] Compiling Utils Vec2.swift
[189/229] Compiling Utils Vector.swift
[190/229] Compiling Utils Absolutable.swift
[191/229] Compiling Utils Addable.swift
[192/229] Compiling Utils AnyAsyncBijection.swift
[193/229] Compiling Utils AnyBijection.swift
[194/229] Compiling Utils AsyncBijection.swift
[195/229] Compiling Utils Bijection.swift
[196/229] Compiling Utils ComposedAsyncBijection.swift
[197/229] Compiling Utils ComposedBijection.swift
[198/229] Compiling Utils Sequence+Extensions.swift
[199/229] Compiling Utils StringProtocol+Extensions.swift
[200/229] Compiling Utils TimeInterval+Extensions.swift
[201/229] Compiling Utils TemporaryDirectory.swift
[202/229] Compiling Utils TemporaryFile.swift
[203/229] Compiling Utils PeekableIterator.swift
[204/229] Compiling Utils ConstBoolTypes.swift
[205/229] Compiling Utils ConstIntTypes.swift
[206/229] Compiling Utils AsyncRunnable.swift
[207/229] Compiling Utils CompareUtils.swift
[208/229] Compiling Utils DefaultInitializable.swift
[209/229] Compiling Utils Promise.swift
[210/229] Compiling Utils PromiseUtils.swift
[211/229] Compiling Utils ArrayUtils.swift
[212/229] Compiling Utils AvlTree.swift
[213/229] Compiling Utils BiDictionary.swift
[214/229] Compiling Utils BinaryHeap.swift
[215/229] Compiling Utils BitArray.swift
[216/229] Compiling Utils CircularArray.swift
[217/229] Compiling Utils ExpiringList.swift
[218/229] Compiling Utils FixedArray.swift
[219/229] Compiling Utils LazyDictionary.swift
[220/229] Compiling Utils Direction.swift
[221/229] Compiling Utils FibonacciSequence.swift
[222/229] Compiling Utils Mat2.swift
[223/229] Compiling Utils MathUtils.swift
[224/229] Compiling Utils Matrix.swift
[225/229] Compiling Utils NDArray.swift
[226/229] Compiling Utils NDArrayError.swift
[227/229] Compiling Utils NDArrayParser.swift
[228/229] Compiling Utils NDArrayParserError.swift
[229/229] Compiling Utils Rational.swift
Build complete! (25.76s)
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/3908] Fetching swiftsoup
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
[275/5957] Fetching swiftsoup, swift-docc-plugin
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.32s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.32s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.32s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (2.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.48s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.46s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MaxDesiatov/XMLCoder.git"
}
],
"manifest_display_name" : "swift-utils",
"name" : "swift-utils",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Utils",
"targets" : [
"Utils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UtilsTests",
"module_type" : "SwiftTarget",
"name" : "UtilsTests",
"path" : "Tests/UtilsTests",
"sources" : [
"Collections/AvlTreeTests.swift",
"Collections/BiDictionaryTests.swift",
"Collections/BinaryHeapTests.swift",
"Collections/BitArrayTests.swift",
"Collections/CircularArrayTests.swift",
"Collections/CollectionUtilsTests.swift",
"Collections/StablePriorityQueueTests.swift",
"Extensions/AsyncExtensionsTests.swift",
"Extensions/StringExtensionsTests.swift",
"Numerics/ComplexTests.swift",
"Numerics/FibonacciSequenceTests.swift",
"Numerics/Mat2Tests.swift",
"Numerics/MathUtilsTests.swift",
"Numerics/MatrixTests.swift",
"Numerics/NDArrayTests.swift",
"Numerics/RationalTests.swift",
"Parsing/TokenIteratorTests.swift",
"Processes/ShellTests.swift"
],
"target_dependencies" : [
"Utils"
],
"type" : "test"
},
{
"c99name" : "Utils",
"module_type" : "SwiftTarget",
"name" : "Utils",
"path" : "Sources/Utils",
"product_dependencies" : [
"Logging",
"SwiftSoup",
"XMLCoder"
],
"product_memberships" : [
"Utils"
],
"sources" : [
"Asynchrony/Promise.swift",
"Asynchrony/PromiseUtils.swift",
"Collections/ArrayUtils.swift",
"Collections/AvlTree.swift",
"Collections/BiDictionary.swift",
"Collections/BinaryHeap.swift",
"Collections/BitArray.swift",
"Collections/CircularArray.swift",
"Collections/ExpiringList.swift",
"Collections/FixedArray.swift",
"Collections/LazyDictionary.swift",
"Collections/PriorityQueue.swift",
"Collections/SearchTree.swift",
"Collections/StablePriorityQueue.swift",
"Concurrency/UncheckedSendable.swift",
"Extensions/Array+Extensions.swift",
"Extensions/ChoiceOf+Extensions.swift",
"Extensions/Collection+Extensions.swift",
"Extensions/Dictionary+Extensions.swift",
"Extensions/Optional+Extensions.swift",
"Extensions/RandomAccessCollection+Extensions.swift",
"Extensions/Result+Extensions.swift",
"Extensions/Sequence+Extensions.swift",
"Extensions/StringProtocol+Extensions.swift",
"Extensions/TimeInterval+Extensions.swift",
"Filesystem/TemporaryDirectory.swift",
"Filesystem/TemporaryFile.swift",
"Iterators/PeekableIterator.swift",
"Metaprogramming/ConstBoolTypes.swift",
"Metaprogramming/ConstIntTypes.swift",
"Misc/AsyncRunnable.swift",
"Misc/CompareUtils.swift",
"Misc/DefaultInitializable.swift",
"Misc/DiskFileError.swift",
"Misc/KeyParameterizable.swift",
"Misc/Runnable.swift",
"Misc/Startable.swift",
"Misc/StringBuilder.swift",
"Misc/StringEnum.swift",
"Misc/UnionStringEnum.swift",
"Networking/AddressUtils.swift",
"Networking/NetworkError.swift",
"Numerics/Axis.swift",
"Numerics/Complex.swift",
"Numerics/Direction.swift",
"Numerics/FibonacciSequence.swift",
"Numerics/Mat2.swift",
"Numerics/MathUtils.swift",
"Numerics/Matrix.swift",
"Numerics/NDArray.swift",
"Numerics/NDArrayError.swift",
"Numerics/NDArrayParser.swift",
"Numerics/NDArrayParserError.swift",
"Numerics/Rational.swift",
"Numerics/Vec2.swift",
"Numerics/Vector.swift",
"Operations/Absolutable.swift",
"Operations/Addable.swift",
"Operations/AnyAsyncBijection.swift",
"Operations/AnyBijection.swift",
"Operations/AsyncBijection.swift",
"Operations/Bijection.swift",
"Operations/ComposedAsyncBijection.swift",
"Operations/ComposedBijection.swift",
"Operations/Divisible.swift",
"Operations/IdentityBijection.swift",
"Operations/IntExpressibleAlgebraicField.swift",
"Operations/InverseAsyncBijection.swift",
"Operations/InverseBijection.swift",
"Operations/Magnitudable.swift",
"Operations/Multipliable.swift",
"Operations/Negatable.swift",
"Operations/Remainderable.swift",
"Operations/Scaling.swift",
"Operations/Subtractable.swift",
"Operations/Translation.swift",
"Operations/UnsignedConvertible.swift",
"Parsing/LegacyRegex.swift",
"Parsing/TokenIterator.swift",
"Processes/NodePackage.swift",
"Processes/Shell.swift",
"Ranges/LowBoundedIntRange.swift",
"Ranges/RangeUtils.swift",
"Scheduling/RepeatingTimer.swift",
"Scheduling/TimerContext.swift",
"Serialization/AnyCodable.swift",
"Serialization/AnyCodingKey.swift",
"Serialization/AutoSerializing.swift",
"Serialization/DiskJsonSerializer.swift",
"Serialization/EncodeError.swift",
"Statistics/Averager.swift",
"Statistics/CustomDiscreteDistribution.swift",
"Statistics/Distribution.swift",
"Synchronization/MutexLock.swift",
"Synchronization/Synchronized.swift",
"Time/Time.swift",
"Web/DocumentToMarkdownConverter.swift",
"Web/HTTPRequest.swift",
"Wrappers/AsyncLazyExpiring.swift",
"Wrappers/Binding.swift",
"Wrappers/Box.swift",
"Wrappers/Expiring.swift",
"Wrappers/Lazy.swift",
"Wrappers/PhantomWrapped.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.