The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of WeTransfer-Swift-SDK, reference master (544be2), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:57:35 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/WeTransfer-Swift-SDK.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WeTransfer/WeTransfer-Swift-SDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 544be2c Update README.md
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out '93c505b35871f453c2de159e963eb86ed781c21e'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/Users/admin/builder/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/WeTransfer-Swift-SDK.git
Revision (git rev-parse @):
544be2c72378431cf2ea5ef115d9386127cdf73c
SUCCESS checkout https://github.com/WeTransfer/WeTransfer-Swift-SDK.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "wetransfer-swift-sdk",
      "name": "WeTransfer-Swift-SDK",
      "url": "https://github.com/WeTransfer/WeTransfer-Swift-SDK.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WeTransfer-Swift-SDK",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/WeTransfer/WeTransfer-Swift-SDK.git
[1/2126] Fetching wetransfer-swift-sdk
Fetched https://github.com/WeTransfer/WeTransfer-Swift-SDK.git from cache (1.25s)
Creating working copy for https://github.com/WeTransfer/WeTransfer-Swift-SDK.git
Working copy of https://github.com/WeTransfer/WeTransfer-Swift-SDK.git resolved at master (544be2c)
warning: '.resolve-product-dependencies': dependency 'wetransfer-swift-sdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/WeTransfer/WeTransfer-Swift-SDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/30] Emitting module WeTransfer
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousDependencyResultOperation.swift:12:12: warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousDependencyResultOperation<T>: AsynchronousResultOperation<T> {
   |            `- warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	open override func execute() {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousOperation.swift:12:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// A base class to handle NSOperation states, because this is quite verbose due to KVO and the combined attribute states.
 12 | open class AsynchronousOperation: Operation {
    |            `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	// MARK: - Types
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:14:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |                                        `- note: 'T' previously declared here
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
   |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 |
16 | 	enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:12:12: warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |            `- warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/ChainedAsynchronousResultOperation.swift:12:12: warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | // An asynchronous operation which is dependent on a parent operation for its input.
 12 | open class ChainedAsynchronousResultOperation<Input, Output>: AsynchronousResultOperation<Output> {
    |            `- warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/AddFilesOperation.swift:13:13: warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for adding files to the provided board object and on the server as well. When succeeded, the files will be updated with the appropriate data like identifiers and information about the chunks.
12 | /// - Note: The files will be added to the provided board object when the operation has started executing
13 | final class AddFilesOperation: ChainedAsynchronousResultOperation<Board, Board> {
   |             `- warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CompleteUploadOperation.swift:12:13: warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Completes the upload of each file in a transfer. Typically used in `UploadFileOperation` after all the file's chunks have been uploaded
 12 | final class CompleteUploadOperation: AsynchronousResultOperation<File> {
    |             `- warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateBoardOperation.swift:13:13: warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateBoardOperation: AsynchronousResultOperation<Board> {
   |             `- warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	private let board: Board
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateChunkOperation.swift:12:13: warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Creates a chunk of a file to be uploaded. Designed to be used right before `UploadChunkOperation`
12 | final class CreateChunkOperation: AsynchronousResultOperation<Chunk> {
   |             `- warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateTransferOperation.swift:13:13: warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateTransferOperation: AsynchronousResultOperation<Transfer> {
   |             `- warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/FinalizeTransferOperation.swift:12:13: warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Finalizes the provided Transfer after all files have been uploaded. The Transfer object will be updated with a URL as a result.
12 | final class FinalizeTransferOperation: ChainedAsynchronousResultOperation<Transfer, Transfer> {
   |             `- warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	/// Initializes the operation with a transfer. When initalized as part of a chain this operation can be initialized without any arguments
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadChunkOperation.swift:12:13: warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Uploads the chunk that resulted from the dependant `CreateChunkOperation`. The uploading is handled by the provided `URLSession`
12 | final class UploadChunkOperation: ChainedAsynchronousResultOperation<Chunk, Chunk> {
   |             `- warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFileOperation.swift:12:13: warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Responsible for creating the necessary operations to create and upload chunks for the provided file. Uses the provided operation queue to handle created operations and the actual uploading is done with the provided URLSession
12 | final class UploadFileOperation: AsynchronousResultOperation<File> {
   |             `- warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:12:13: warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Handles the uploading of all files -- that are not uploaded yet -- in the provided transfer. Creates an operation queue with an `UploadFileOperation` for each file to be uploaded.
 12 | final class UploadFilesOperation<Container: Transferable>: ChainedAsynchronousResultOperation<Container, Container>, URLSessionDataDelegate {
    |             `- warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	/// Amount of bytes already sent
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
[4/33] Compiling WeTransfer CreateBoardOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateBoardOperation.swift:13:13: warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateBoardOperation: AsynchronousResultOperation<Board> {
   |             `- warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	private let board: Board
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateChunkOperation.swift:12:13: warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Creates a chunk of a file to be uploaded. Designed to be used right before `UploadChunkOperation`
12 | final class CreateChunkOperation: AsynchronousResultOperation<Chunk> {
   |             `- warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateTransferOperation.swift:13:13: warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateTransferOperation: AsynchronousResultOperation<Transfer> {
   |             `- warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
[5/33] Compiling WeTransfer CreateChunkOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateBoardOperation.swift:13:13: warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateBoardOperation: AsynchronousResultOperation<Board> {
   |             `- warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	private let board: Board
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateChunkOperation.swift:12:13: warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Creates a chunk of a file to be uploaded. Designed to be used right before `UploadChunkOperation`
12 | final class CreateChunkOperation: AsynchronousResultOperation<Chunk> {
   |             `- warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateTransferOperation.swift:13:13: warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateTransferOperation: AsynchronousResultOperation<Transfer> {
   |             `- warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
[6/33] Compiling WeTransfer CreateTransferOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateBoardOperation.swift:13:13: warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateBoardOperation: AsynchronousResultOperation<Board> {
   |             `- warning: class 'CreateBoardOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	private let board: Board
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateChunkOperation.swift:12:13: warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Creates a chunk of a file to be uploaded. Designed to be used right before `UploadChunkOperation`
12 | final class CreateChunkOperation: AsynchronousResultOperation<Chunk> {
   |             `- warning: class 'CreateChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CreateTransferOperation.swift:13:13: warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for creating the transfer on the server and providing the given transfer object with an identifier and URL when succeeded.
12 | /// This operation does not handle the requests necessary to add files to the server side transfer, which `AddFilesOperation` is responsible for
13 | final class CreateTransferOperation: AsynchronousResultOperation<Transfer> {
   |             `- warning: class 'CreateTransferOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
[7/33] Compiling WeTransfer Board.swift
[8/33] Compiling WeTransfer Chunk.swift
[9/33] Compiling WeTransfer File.swift
[10/33] Compiling WeTransfer UploadFileOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFileOperation.swift:12:13: warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Responsible for creating the necessary operations to create and upload chunks for the provided file. Uses the provided operation queue to handle created operations and the actual uploading is done with the provided URLSession
12 | final class UploadFileOperation: AsynchronousResultOperation<File> {
   |             `- warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:12:13: warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Handles the uploading of all files -- that are not uploaded yet -- in the provided transfer. Creates an operation queue with an `UploadFileOperation` for each file to be uploaded.
 12 | final class UploadFilesOperation<Container: Transferable>: ChainedAsynchronousResultOperation<Container, Container>, URLSessionDataDelegate {
    |             `- warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	/// Amount of bytes already sent
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:84:5: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 | 		filesResultOperation.onResult = { [weak self] result in
 83 | 			uploadSession.delegateQueue.underlyingQueue?.async {
 84 | 				self?.progress.resignCurrent()
    |     `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 | 			}
 86 | 			switch result {
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:18: warning: capture of 'state' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |                  `- warning: capture of 'state' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:14:14: note: consider making generic enum 'State' conform to the 'Sendable' protocol
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:18: warning: capture of 'state' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |                  `- warning: capture of 'state' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:14:14: note: consider making generic enum 'State' conform to the 'Sendable' protocol
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:18: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |                  |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:18: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |                  |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 | 			}
153 | 		}
[11/33] Compiling WeTransfer UploadFilesOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFileOperation.swift:12:13: warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Responsible for creating the necessary operations to create and upload chunks for the provided file. Uses the provided operation queue to handle created operations and the actual uploading is done with the provided URLSession
12 | final class UploadFileOperation: AsynchronousResultOperation<File> {
   |             `- warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:12:13: warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Handles the uploading of all files -- that are not uploaded yet -- in the provided transfer. Creates an operation queue with an `UploadFileOperation` for each file to be uploaded.
 12 | final class UploadFilesOperation<Container: Transferable>: ChainedAsynchronousResultOperation<Container, Container>, URLSessionDataDelegate {
    |             `- warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	/// Amount of bytes already sent
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:84:5: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 | 		filesResultOperation.onResult = { [weak self] result in
 83 | 			uploadSession.delegateQueue.underlyingQueue?.async {
 84 | 				self?.progress.resignCurrent()
    |     `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 | 			}
 86 | 			switch result {
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:18: warning: capture of 'state' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |                  `- warning: capture of 'state' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:14:14: note: consider making generic enum 'State' conform to the 'Sendable' protocol
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:18: warning: capture of 'state' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |                  `- warning: capture of 'state' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:14:14: note: consider making generic enum 'State' conform to the 'Sendable' protocol
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:18: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |                  |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:18: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |                  |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 | 			}
153 | 		}
[12/33] Compiling WeTransfer WeTransfer.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFileOperation.swift:12:13: warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Responsible for creating the necessary operations to create and upload chunks for the provided file. Uses the provided operation queue to handle created operations and the actual uploading is done with the provided URLSession
12 | final class UploadFileOperation: AsynchronousResultOperation<File> {
   |             `- warning: class 'UploadFileOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:12:13: warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Handles the uploading of all files -- that are not uploaded yet -- in the provided transfer. Creates an operation queue with an `UploadFileOperation` for each file to be uploaded.
 12 | final class UploadFilesOperation<Container: Transferable>: ChainedAsynchronousResultOperation<Container, Container>, URLSessionDataDelegate {
    |             `- warning: class 'UploadFilesOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	/// Amount of bytes already sent
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadFilesOperation.swift:84:5: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 | 		filesResultOperation.onResult = { [weak self] result in
 83 | 			uploadSession.delegateQueue.underlyingQueue?.async {
 84 | 				self?.progress.resignCurrent()
    |     `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 | 			}
 86 | 			switch result {
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:18: warning: capture of 'state' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |                  `- warning: capture of 'state' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:14:14: note: consider making generic enum 'State' conform to the 'Sendable' protocol
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:18: warning: capture of 'state' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |                  `- warning: capture of 'state' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:14:14: note: consider making generic enum 'State' conform to the 'Sendable' protocol
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:98:18: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
 96 | 		let changeState = { state in
 97 | 			DispatchQueue.main.async {
 98 | 				stateChanged(state)
    |                  |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 | 			}
100 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 | 			}
153 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:151:18: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
149 | 		let changeState = { state in
150 | 			DispatchQueue.main.async {
151 | 				stateChanged(state)
    |                  |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 | 			}
153 | 		}
[13/33] Compiling WeTransfer Transfer.swift
[14/33] Compiling WeTransfer Transferable.swift
[15/33] Compiling WeTransfer APIClient.swift
[16/33] Compiling WeTransfer CreateTransfer.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:5: warning: capture of 'completion' with non-sendable type '(Result<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:16: warning: capture of 'result' with non-sendable type 'Result<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Request.swift:128:5: warning: capture of 'completion' with non-sendable type '(Result<Response>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | 				}
127 | 				let response = try client.decoder.decode(endpoint.responseType, from: data)
128 | 				completion(.success(response))
    |     |- warning: capture of 'completion' with non-sendable type '(Result<Response>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 | 			} catch {
130 | 				let serverError = parseErrorResponse(data, urlResponse: urlResponse as? HTTPURLResponse) ?? error
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:18: warning: capture of 'result' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
   :
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |                  `- warning: capture of 'result' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:18: warning: capture of 'result' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
   :
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |                  `- warning: capture of 'result' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:18: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |                  |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                  `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:18: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |                  |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                  `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | 			}
67 | 		}
[17/33] Compiling WeTransfer Request.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:5: warning: capture of 'completion' with non-sendable type '(Result<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:16: warning: capture of 'result' with non-sendable type 'Result<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Request.swift:128:5: warning: capture of 'completion' with non-sendable type '(Result<Response>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | 				}
127 | 				let response = try client.decoder.decode(endpoint.responseType, from: data)
128 | 				completion(.success(response))
    |     |- warning: capture of 'completion' with non-sendable type '(Result<Response>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 | 			} catch {
130 | 				let serverError = parseErrorResponse(data, urlResponse: urlResponse as? HTTPURLResponse) ?? error
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:18: warning: capture of 'result' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
   :
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |                  `- warning: capture of 'result' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:18: warning: capture of 'result' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
   :
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |                  `- warning: capture of 'result' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:18: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |                  |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                  `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:18: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |                  |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                  `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | 			}
67 | 		}
[18/33] Compiling WeTransfer Upload.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:5: warning: capture of 'completion' with non-sendable type '(Result<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:16: warning: capture of 'result' with non-sendable type 'Result<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Request.swift:128:5: warning: capture of 'completion' with non-sendable type '(Result<Response>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | 				}
127 | 				let response = try client.decoder.decode(endpoint.responseType, from: data)
128 | 				completion(.success(response))
    |     |- warning: capture of 'completion' with non-sendable type '(Result<Response>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 | 			} catch {
130 | 				let serverError = parseErrorResponse(data, urlResponse: urlResponse as? HTTPURLResponse) ?? error
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Transfer>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:18: warning: capture of 'result' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
   :
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |                  `- warning: capture of 'result' with non-sendable type 'WeTransfer.State<Transfer>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:5: warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |     |- warning: capture of 'stateChanged' with non-sendable type '(WeTransfer.State<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:18: warning: capture of 'result' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | 	/// State of current transfer
14 | 	public enum State<T> {
   |              `- note: consider making generic enum 'State' conform to the 'Sendable' protocol
15 | 		/// Object is created server side, in case of Board now has url available
16 | 		case created(T)
   :
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |                  `- warning: capture of 'result' with non-sendable type 'WeTransfer.State<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateTransfer.swift:26:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
24 | 		let callCompletion = { result in
25 | 			DispatchQueue.main.async {
26 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | 			}
28 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:34:18: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
32 | 		let changeState = { result in
33 | 			DispatchQueue.main.async {
34 | 				stateChanged(result)
   |                  |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                  `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | 			}
36 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:5: warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |     |- warning: sending 'stateChanged' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'stateChanged' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | 			}
67 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Upload.swift:65:18: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
63 | 		let changeState = { result in
64 | 			DispatchQueue.main.async {
65 | 				stateChanged(result)
   |                  |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                  `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | 			}
67 | 		}
[19/33] Compiling WeTransfer Authenticator.swift
[20/33] Compiling WeTransfer APIEndpoint.swift
[21/33] Compiling WeTransfer Endpoints.swift
[22/33] Compiling WeTransfer FinalizeTransferOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/FinalizeTransferOperation.swift:12:13: warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Finalizes the provided Transfer after all files have been uploaded. The Transfer object will be updated with a URL as a result.
12 | final class FinalizeTransferOperation: ChainedAsynchronousResultOperation<Transfer, Transfer> {
   |             `- warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	/// Initializes the operation with a transfer. When initalized as part of a chain this operation can be initialized without any arguments
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadChunkOperation.swift:12:13: warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Uploads the chunk that resulted from the dependant `CreateChunkOperation`. The uploading is handled by the provided `URLSession`
12 | final class UploadChunkOperation: ChainedAsynchronousResultOperation<Chunk, Chunk> {
   |             `- warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
[23/33] Compiling WeTransfer Result.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/FinalizeTransferOperation.swift:12:13: warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Finalizes the provided Transfer after all files have been uploaded. The Transfer object will be updated with a URL as a result.
12 | final class FinalizeTransferOperation: ChainedAsynchronousResultOperation<Transfer, Transfer> {
   |             `- warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	/// Initializes the operation with a transfer. When initalized as part of a chain this operation can be initialized without any arguments
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadChunkOperation.swift:12:13: warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Uploads the chunk that resulted from the dependant `CreateChunkOperation`. The uploading is handled by the provided `URLSession`
12 | final class UploadChunkOperation: ChainedAsynchronousResultOperation<Chunk, Chunk> {
   |             `- warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
[24/33] Compiling WeTransfer UploadChunkOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/FinalizeTransferOperation.swift:12:13: warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Finalizes the provided Transfer after all files have been uploaded. The Transfer object will be updated with a URL as a result.
12 | final class FinalizeTransferOperation: ChainedAsynchronousResultOperation<Transfer, Transfer> {
   |             `- warning: class 'FinalizeTransferOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	/// Initializes the operation with a transfer. When initalized as part of a chain this operation can be initialized without any arguments
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/UploadChunkOperation.swift:12:13: warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// Uploads the chunk that resulted from the dependant `CreateChunkOperation`. The uploading is handled by the provided `URLSession`
12 | final class UploadChunkOperation: ChainedAsynchronousResultOperation<Chunk, Chunk> {
   |             `- warning: class 'UploadChunkOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	enum Error: Swift.Error, LocalizedError {
[25/33] Compiling WeTransfer AddFiles.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:5: warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:16: warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:5: warning: capture of 'completion' with non-sendable type '(Result<Void>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Void>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:16: warning: capture of 'result' with non-sendable type 'Result<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:5: warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:16: warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | 			}
25 | 		}
[26/33] Compiling WeTransfer Authorize.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:5: warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:16: warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:5: warning: capture of 'completion' with non-sendable type '(Result<Void>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Void>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:16: warning: capture of 'result' with non-sendable type 'Result<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:5: warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:16: warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | 			}
25 | 		}
[27/33] Compiling WeTransfer CreateBoard.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:5: warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:16: warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/WeTransfer.swift:18:13: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | 	/// The client used for all requests. Stores the authenticated state and creates and manages all requests
 18 | 	static var client: APIClient = APIClient()
    |             |- warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'client' 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
 19 |
 20 | 	private init() {}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:5: warning: capture of 'completion' with non-sendable type '(Result<Void>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Void>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:16: warning: capture of 'result' with non-sendable type 'Result<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:5: warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |     |- warning: capture of 'completion' with non-sendable type '(Result<Board>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:16: warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |                `- warning: capture of 'result' with non-sendable type 'Result<Board>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Helpers/Result.swift:12:13: note: consider making generic enum 'Result' conform to the 'Sendable' protocol
10 |
11 | /// Enum with either a value when succeeded or an error when failed
12 | public enum Result<Value> {
   |             `- note: consider making generic enum 'Result' conform to the 'Sendable' protocol
13 | 	/// The operation has succeeded and requested value is available
14 | 	case success(Value)
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/AddFiles.swift:25:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
23 | 		operation.onResult = { result in
24 | 			DispatchQueue.main.async {
25 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | 			}
27 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/Authorize.swift:21:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
19 | 		let callCompletion = { result in
20 | 			DispatchQueue.main.async {
21 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | 			}
23 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:5: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | 			}
25 | 		}
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Methods/CreateBoard.swift:23:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
21 | 		let callCompletion = { result in
22 | 			DispatchQueue.main.async {
23 | 				completion(result)
   |                |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | 			}
25 | 		}
[28/33] Compiling WeTransfer AsynchronousDependencyResultOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousDependencyResultOperation.swift:12:12: warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousDependencyResultOperation<T>: AsynchronousResultOperation<T> {
   |            `- warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	open override func execute() {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousOperation.swift:12:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// A base class to handle NSOperation states, because this is quite verbose due to KVO and the combined attribute states.
 12 | open class AsynchronousOperation: Operation {
    |            `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	// MARK: - Types
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:14:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |                                        `- note: 'T' previously declared here
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
   |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 |
16 | 	enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:12:12: warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |            `- warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
[29/33] Compiling WeTransfer AsynchronousOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousDependencyResultOperation.swift:12:12: warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousDependencyResultOperation<T>: AsynchronousResultOperation<T> {
   |            `- warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	open override func execute() {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousOperation.swift:12:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// A base class to handle NSOperation states, because this is quite verbose due to KVO and the combined attribute states.
 12 | open class AsynchronousOperation: Operation {
    |            `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	// MARK: - Types
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:14:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |                                        `- note: 'T' previously declared here
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
   |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 |
16 | 	enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:12:12: warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |            `- warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
[30/33] Compiling WeTransfer AsynchronousResultOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousDependencyResultOperation.swift:12:12: warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousDependencyResultOperation<T>: AsynchronousResultOperation<T> {
   |            `- warning: class 'AsynchronousDependencyResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	open override func execute() {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousOperation.swift:12:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// A base class to handle NSOperation states, because this is quite verbose due to KVO and the combined attribute states.
 12 | open class AsynchronousOperation: Operation {
    |            `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	// MARK: - Types
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:14:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |                                        `- note: 'T' previously declared here
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
   |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 |
16 | 	enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/AsynchronousResultOperation.swift:12:12: warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 | /// An asynchronous operation which will always have a result after completion.
12 | open class AsynchronousResultOperation<T>: AsynchronousOperation {
   |            `- warning: class 'AsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	typealias ResultHandler<T> = ((_ result: Result<T>) -> Void)
[31/33] Compiling WeTransfer ChainedAsynchronousResultOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/ChainedAsynchronousResultOperation.swift:12:12: warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | // An asynchronous operation which is dependent on a parent operation for its input.
 12 | open class ChainedAsynchronousResultOperation<Input, Output>: AsynchronousResultOperation<Output> {
    |            `- warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/AddFilesOperation.swift:13:13: warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for adding files to the provided board object and on the server as well. When succeeded, the files will be updated with the appropriate data like identifiers and information about the chunks.
12 | /// - Note: The files will be added to the provided board object when the operation has started executing
13 | final class AddFilesOperation: ChainedAsynchronousResultOperation<Board, Board> {
   |             `- warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CompleteUploadOperation.swift:12:13: warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Completes the upload of each file in a transfer. Typically used in `UploadFileOperation` after all the file's chunks have been uploaded
 12 | final class CompleteUploadOperation: AsynchronousResultOperation<File> {
    |             `- warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	enum Error: Swift.Error, LocalizedError {
[32/33] Compiling WeTransfer AddFilesOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/ChainedAsynchronousResultOperation.swift:12:12: warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | // An asynchronous operation which is dependent on a parent operation for its input.
 12 | open class ChainedAsynchronousResultOperation<Input, Output>: AsynchronousResultOperation<Output> {
    |            `- warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/AddFilesOperation.swift:13:13: warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for adding files to the provided board object and on the server as well. When succeeded, the files will be updated with the appropriate data like identifiers and information about the chunks.
12 | /// - Note: The files will be added to the provided board object when the operation has started executing
13 | final class AddFilesOperation: ChainedAsynchronousResultOperation<Board, Board> {
   |             `- warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CompleteUploadOperation.swift:12:13: warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Completes the upload of each file in a transfer. Typically used in `UploadFileOperation` after all the file's chunks have been uploaded
 12 | final class CompleteUploadOperation: AsynchronousResultOperation<File> {
    |             `- warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	enum Error: Swift.Error, LocalizedError {
[33/33] Compiling WeTransfer CompleteUploadOperation.swift
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/Abstract/ChainedAsynchronousResultOperation.swift:12:12: warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | // An asynchronous operation which is dependent on a parent operation for its input.
 12 | open class ChainedAsynchronousResultOperation<Input, Output>: AsynchronousResultOperation<Output> {
    |            `- warning: class 'ChainedAsynchronousResultOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/AddFilesOperation.swift:13:13: warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
11 | /// Operation responsible for adding files to the provided board object and on the server as well. When succeeded, the files will be updated with the appropriate data like identifiers and information about the chunks.
12 | /// - Note: The files will be added to the provided board object when the operation has started executing
13 | final class AddFilesOperation: ChainedAsynchronousResultOperation<Board, Board> {
   |             `- warning: class 'AddFilesOperation' must restate inherited '@unchecked Sendable' conformance
14 |
15 | 	enum Error: Swift.Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/WeTransfer/Server/Operations/CompleteUploadOperation.swift:12:13: warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 10 |
 11 | /// Completes the upload of each file in a transfer. Typically used in `UploadFileOperation` after all the file's chunks have been uploaded
 12 | final class CompleteUploadOperation: AsynchronousResultOperation<File> {
    |             `- warning: class 'CompleteUploadOperation' must restate inherited '@unchecked Sendable' conformance
 13 |
 14 | 	enum Error: Swift.Error, LocalizedError {
Build complete! (18.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WeTransfer-Swift-SDK",
  "name" : "WeTransfer-Swift-SDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WeTransfer",
      "targets" : [
        "WeTransfer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WeTransfer_Tests",
      "module_type" : "SwiftTarget",
      "name" : "WeTransfer Tests",
      "path" : "WeTransferTests",
      "sources" : [
        "AuthorizationTests.swift",
        "BaseTestCase.swift",
        "Board/AddFilesTests.swift",
        "Board/BoardChunksTests.swift",
        "Board/BoardUploadTests.swift",
        "Board/CreateBoardTests.swift",
        "Board/SimpleBoardUploadTests.swift",
        "InitializationTests.swift",
        "RequestTests.swift",
        "Secrets.swift",
        "TestConfiguration.swift",
        "Transfer/CreateTransferTests.swift",
        "Transfer/SimpleTransferTests.swift",
        "Transfer/TransferChunksTests.swift",
        "Transfer/TransferUploadTests.swift"
      ],
      "target_dependencies" : [
        "WeTransfer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WeTransfer",
      "module_type" : "SwiftTarget",
      "name" : "WeTransfer",
      "path" : "WeTransfer",
      "product_memberships" : [
        "WeTransfer"
      ],
      "sources" : [
        "Models/Board.swift",
        "Models/Chunk.swift",
        "Models/File.swift",
        "Models/Transfer.swift",
        "Models/Transferable.swift",
        "Server/APIClient.swift",
        "Server/Authenticator.swift",
        "Server/Endpoints/APIEndpoint.swift",
        "Server/Endpoints/Endpoints.swift",
        "Server/Methods/AddFiles.swift",
        "Server/Methods/Authorize.swift",
        "Server/Methods/CreateBoard.swift",
        "Server/Methods/CreateTransfer.swift",
        "Server/Methods/Request.swift",
        "Server/Methods/Upload.swift",
        "Server/Operations/Abstract/AsynchronousDependencyResultOperation.swift",
        "Server/Operations/Abstract/AsynchronousOperation.swift",
        "Server/Operations/Abstract/AsynchronousResultOperation.swift",
        "Server/Operations/Abstract/ChainedAsynchronousResultOperation.swift",
        "Server/Operations/AddFilesOperation.swift",
        "Server/Operations/CompleteUploadOperation.swift",
        "Server/Operations/CreateBoardOperation.swift",
        "Server/Operations/CreateChunkOperation.swift",
        "Server/Operations/CreateTransferOperation.swift",
        "Server/Operations/FinalizeTransferOperation.swift",
        "Server/Operations/Helpers/Result.swift",
        "Server/Operations/UploadChunkOperation.swift",
        "Server/Operations/UploadFileOperation.swift",
        "Server/Operations/UploadFilesOperation.swift",
        "WeTransfer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.