Build Information
Successful build of SwiftBackports, reference 1.0.3 (ddca6a
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 14:10:46 UTC.
Swift 6 data race errors: 0
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shaps80/SwiftBackports.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shaps80/SwiftBackports
* tag 1.0.3 -> FETCH_HEAD
HEAD is now at ddca6a2 Checkpoint that compiles
Cloned https://github.com/shaps80/SwiftBackports.git
Revision (git rev-parse @):
ddca6a237c1ba2291d5a3cc47ec8480ce6e9f805
SUCCESS checkout https://github.com/shaps80/SwiftBackports.git at 1.0.3
========================================
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": "swiftbackports",
"name": "SwiftBackports",
"url": "https://github.com/shaps80/SwiftBackports.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBackports",
"dependencies": [
]
}
]
}
Fetching https://github.com/shaps80/SwiftBackports.git
[10/500] Fetching swiftbackports
Fetched https://github.com/shaps80/SwiftBackports.git from cache (0.96s)
Creating working copy for https://github.com/shaps80/SwiftBackports.git
Working copy of https://github.com/shaps80/SwiftBackports.git resolved at 1.0.3 (ddca6a2)
warning: '.resolve-product-dependencies': dependency 'swiftbackports' 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/shaps80/SwiftBackports.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftBackports",
"name" : "SwiftBackports",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "SwiftBackports",
"targets" : [
"SwiftBackports"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftBackportsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftBackportsTests",
"path" : "Tests/SwiftBackportsTests",
"sources" : [
"TransferableTest.swift"
],
"target_dependencies" : [
"SwiftBackports"
],
"type" : "test"
},
{
"c99name" : "SwiftBackports",
"module_type" : "SwiftTarget",
"name" : "SwiftBackports",
"path" : "Sources/SwiftBackports",
"product_memberships" : [
"SwiftBackports"
],
"sources" : [
"Backport.swift",
"CoreTransferable/Representations/Codable+Representation.swift",
"CoreTransferable/Representations/Data+Representation.swift",
"CoreTransferable/Representations/File+Representations.swift",
"CoreTransferable/Representations/Never+Representation.swift",
"CoreTransferable/Representations/Tuple+Representation.swift",
"CoreTransferable/Representations/_ConditionalRepresentation.swift",
"CoreTransferable/Support/NSItemProvider+Transferable.swift",
"CoreTransferable/Support/ReceivedTransferredFile.swift",
"CoreTransferable/Support/SentTransferredFile.swift",
"CoreTransferable/Support/Visibility.swift",
"CoreTransferable/TransferRepresentationBuilder.swift",
"CoreTransferable/Transferable.swift",
"CoreTransferable/TransferableRepresentation.swift",
"CoreTransferable/Transferables/AttributedString+Transferable.swift",
"CoreTransferable/Transferables/Data+Transferable.swift",
"CoreTransferable/Transferables/Never+Transferable.swift",
"CoreTransferable/Transferables/String+Transferable.swift",
"CoreTransferable/Transferables/URL+Transferable.swift",
"URLSession/URLSession+Async.swift",
"UniformTypeIdentifiers/CoreTypes.swift",
"UniformTypeIdentifiers/UTTagClass.swift",
"UniformTypeIdentifiers/UTType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/24] Emitting module SwiftBackports
[4/26] Compiling SwiftBackports Data+Transferable.swift
[5/26] Compiling SwiftBackports Never+Transferable.swift
[6/26] Compiling SwiftBackports UTTagClass.swift
[7/26] Compiling SwiftBackports UTType.swift
[8/26] Compiling SwiftBackports String+Transferable.swift
[9/26] Compiling SwiftBackports URL+Transferable.swift
[10/26] Compiling SwiftBackports _ConditionalRepresentation.swift
[11/26] Compiling SwiftBackports NSItemProvider+Transferable.swift
[12/26] Compiling SwiftBackports ReceivedTransferredFile.swift
[13/26] Compiling SwiftBackports SentTransferredFile.swift
[14/26] Compiling SwiftBackports Visibility.swift
[15/26] Compiling SwiftBackports TransferRepresentationBuilder.swift
[16/26] Compiling SwiftBackports Transferable.swift
[17/26] Compiling SwiftBackports File+Representations.swift
[18/26] Compiling SwiftBackports Never+Representation.swift
[19/26] Compiling SwiftBackports Tuple+Representation.swift
[20/26] Compiling SwiftBackports TransferableRepresentation.swift
[21/26] Compiling SwiftBackports AttributedString+Transferable.swift
[22/26] Compiling SwiftBackports URLSession+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:28:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | return try await withTaskCancellationHandler {
27 | try await withCheckedThrowingContinuation { continuation in
28 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | await sessionTask.start(wrapped.dataTask(with: request) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
30 | guard let data = data, let response = response else {
31 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:49:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
47 | return try await withTaskCancellationHandler {
48 | try await withCheckedThrowingContinuation { continuation in
49 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
50 | await sessionTask.start(wrapped.uploadTask(with: request, fromFile: fileURL) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
51 | guard let data = data, let response = response else {
52 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:69:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | return try await withTaskCancellationHandler {
68 | try await withCheckedThrowingContinuation { continuation in
69 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
70 | await sessionTask.start(wrapped.uploadTask(with: request, from: bodyData) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
71 | guard let data = data, let response = response else {
72 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:89:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 | return try await withTaskCancellationHandler {
88 | try await withCheckedThrowingContinuation { continuation in
89 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 | await sessionTask.start(wrapped.downloadTask(with: request) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
91 | guard let data = data, let response = response else {
92 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:109:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
107 | return try await withTaskCancellationHandler {
108 | try await withCheckedThrowingContinuation { continuation in
109 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
110 | await sessionTask.start(wrapped.downloadTask(with: url) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
111 | guard let data = data, let response = response else {
112 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:129:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
127 | return try await withTaskCancellationHandler {
128 | try await withCheckedThrowingContinuation { continuation in
129 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
130 | await sessionTask.start(wrapped.downloadTask(withResumeData: resumeData) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
131 | guard let data = data, let response = response else {
132 | let error = error ?? URLError(.badServerResponse)
[23/26] Compiling SwiftBackports CoreTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:28:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | return try await withTaskCancellationHandler {
27 | try await withCheckedThrowingContinuation { continuation in
28 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | await sessionTask.start(wrapped.dataTask(with: request) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
30 | guard let data = data, let response = response else {
31 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:49:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
47 | return try await withTaskCancellationHandler {
48 | try await withCheckedThrowingContinuation { continuation in
49 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
50 | await sessionTask.start(wrapped.uploadTask(with: request, fromFile: fileURL) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
51 | guard let data = data, let response = response else {
52 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:69:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | return try await withTaskCancellationHandler {
68 | try await withCheckedThrowingContinuation { continuation in
69 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
70 | await sessionTask.start(wrapped.uploadTask(with: request, from: bodyData) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
71 | guard let data = data, let response = response else {
72 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:89:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 | return try await withTaskCancellationHandler {
88 | try await withCheckedThrowingContinuation { continuation in
89 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
90 | await sessionTask.start(wrapped.downloadTask(with: request) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
91 | guard let data = data, let response = response else {
92 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:109:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
107 | return try await withTaskCancellationHandler {
108 | try await withCheckedThrowingContinuation { continuation in
109 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
110 | await sessionTask.start(wrapped.downloadTask(with: url) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
111 | guard let data = data, let response = response else {
112 | let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:129:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
127 | return try await withTaskCancellationHandler {
128 | try await withCheckedThrowingContinuation { continuation in
129 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
130 | await sessionTask.start(wrapped.downloadTask(withResumeData: resumeData) { data, response, error in
| `- note: closure captures 'self' which is accessible to code in the current task
131 | guard let data = data, let response = response else {
132 | let error = error ?? URLError(.badServerResponse)
[24/26] Compiling SwiftBackports Backport.swift
[25/26] Compiling SwiftBackports Codable+Representation.swift
[26/26] Compiling SwiftBackports Data+Representation.swift
Build complete! (18.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftBackports",
"name" : "SwiftBackports",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "SwiftBackports",
"targets" : [
"SwiftBackports"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftBackportsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftBackportsTests",
"path" : "Tests/SwiftBackportsTests",
"sources" : [
"TransferableTest.swift"
],
"target_dependencies" : [
"SwiftBackports"
],
"type" : "test"
},
{
"c99name" : "SwiftBackports",
"module_type" : "SwiftTarget",
"name" : "SwiftBackports",
"path" : "Sources/SwiftBackports",
"product_memberships" : [
"SwiftBackports"
],
"sources" : [
"Backport.swift",
"CoreTransferable/Representations/Codable+Representation.swift",
"CoreTransferable/Representations/Data+Representation.swift",
"CoreTransferable/Representations/File+Representations.swift",
"CoreTransferable/Representations/Never+Representation.swift",
"CoreTransferable/Representations/Tuple+Representation.swift",
"CoreTransferable/Representations/_ConditionalRepresentation.swift",
"CoreTransferable/Support/NSItemProvider+Transferable.swift",
"CoreTransferable/Support/ReceivedTransferredFile.swift",
"CoreTransferable/Support/SentTransferredFile.swift",
"CoreTransferable/Support/Visibility.swift",
"CoreTransferable/TransferRepresentationBuilder.swift",
"CoreTransferable/Transferable.swift",
"CoreTransferable/TransferableRepresentation.swift",
"CoreTransferable/Transferables/AttributedString+Transferable.swift",
"CoreTransferable/Transferables/Data+Transferable.swift",
"CoreTransferable/Transferables/Never+Transferable.swift",
"CoreTransferable/Transferables/String+Transferable.swift",
"CoreTransferable/Transferables/URL+Transferable.swift",
"URLSession/URLSession+Async.swift",
"UniformTypeIdentifiers/CoreTypes.swift",
"UniformTypeIdentifiers/UTTagClass.swift",
"UniformTypeIdentifiers/UTType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.