Build Information
Successful build of MultipartFormDataKit, reference 1.0.1 (27bf28
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 14:46:23 UTC.
Swift 6 data race errors: 21
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/Kuniwak/MultipartFormDataKit.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kuniwak/MultipartFormDataKit
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 27bf281 Ready to be v1.0.1
Cloned https://github.com/Kuniwak/MultipartFormDataKit.git
Revision (git rev-parse @):
27bf281a9adfd742fa2fb3318c176dcc7a111599
SUCCESS checkout https://github.com/Kuniwak/MultipartFormDataKit.git at 1.0.1
========================================
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": "multipartformdatakit",
"name": "MultipartFormDataKit",
"url": "https://github.com/Kuniwak/MultipartFormDataKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MultipartFormDataKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/Kuniwak/MultipartFormDataKit.git
[1/258] Fetching multipartformdatakit
Fetched https://github.com/Kuniwak/MultipartFormDataKit.git from cache (0.74s)
Creating working copy for https://github.com/Kuniwak/MultipartFormDataKit.git
Working copy of https://github.com/Kuniwak/MultipartFormDataKit.git resolved at 1.0.1 (27bf281)
warning: '.resolve-product-dependencies': dependency 'multipartformdatakit' 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/Kuniwak/MultipartFormDataKit.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/14] Compiling MultipartFormDataKit Filename.swift
[4/14] Compiling MultipartFormDataKit ContentDisposition.swift
[5/14] Compiling MultipartFormDataKit ContentType.swift
[6/14] Compiling MultipartFormDataKit MIMEType.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:8:23: warning: static property 'multipartFormData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
8 | public static var multipartFormData = MIMEType(text: "multipart/form-data")
| |- warning: static property 'multipartFormData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipartFormData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipartFormData' 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
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:10:23: warning: static property 'textPlain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public static var multipartFormData = MIMEType(text: "multipart/form-data")
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textPlain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textPlain' 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
11 | public static var textHtml = MIMEType(text: "text/html")
12 | public static var textCss = MIMEType(text: "text/css")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:11:23: warning: static property 'textHtml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
11 | public static var textHtml = MIMEType(text: "text/html")
| |- warning: static property 'textHtml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textHtml' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textHtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var textCss = MIMEType(text: "text/css")
13 | public static var textJavascript = MIMEType(text: "text/javascript")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:12:23: warning: static property 'textCss' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public static var textPlain = MIMEType(text: "text/plain")
11 | public static var textHtml = MIMEType(text: "text/html")
12 | public static var textCss = MIMEType(text: "text/css")
| |- warning: static property 'textCss' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textCss' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textCss' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:13:23: warning: static property 'textJavascript' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var textHtml = MIMEType(text: "text/html")
12 | public static var textCss = MIMEType(text: "text/css")
13 | public static var textJavascript = MIMEType(text: "text/javascript")
| |- warning: static property 'textJavascript' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textJavascript' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textJavascript' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:15:23: warning: static property 'imageGif' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
| |- warning: static property 'imageGif' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageGif' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageGif' 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
16 | public static var imagePng = MIMEType(text: "image/png")
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:16:23: warning: static property 'imagePng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
16 | public static var imagePng = MIMEType(text: "image/png")
| |- warning: static property 'imagePng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imagePng' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imagePng' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
18 | public static var imageBmp = MIMEType(text: "image/bmp")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:17:23: warning: static property 'imageJpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var imageGif = MIMEType(text: "image/gif")
16 | public static var imagePng = MIMEType(text: "image/png")
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
| |- warning: static property 'imageJpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageJpeg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageJpeg' 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
18 | public static var imageBmp = MIMEType(text: "image/bmp")
19 | public static var imageWebp = MIMEType(text: "image/webp")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:18:23: warning: static property 'imageBmp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var imagePng = MIMEType(text: "image/png")
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
18 | public static var imageBmp = MIMEType(text: "image/bmp")
| |- warning: static property 'imageBmp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageBmp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageBmp' 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 | public static var imageWebp = MIMEType(text: "image/webp")
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:19:23: warning: static property 'imageWebp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
18 | public static var imageBmp = MIMEType(text: "image/bmp")
19 | public static var imageWebp = MIMEType(text: "image/webp")
| |- warning: static property 'imageWebp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageWebp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageWebp' 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
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
21 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:20:23: warning: static property 'imageSvgXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var imageBmp = MIMEType(text: "image/bmp")
19 | public static var imageWebp = MIMEType(text: "image/webp")
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
| |- warning: static property 'imageSvgXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageSvgXml' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageSvgXml' 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
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:22:23: warning: static property 'audioAudio' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
| |- warning: static property 'audioAudio' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioAudio' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioAudio' 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
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
24 | public static var audioWebm = MIMEType(text: "audio/webm")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:23:23: warning: static property 'audioMpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
| |- warning: static property 'audioMpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioMpeg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioMpeg' 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
24 | public static var audioWebm = MIMEType(text: "audio/webm")
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:24:23: warning: static property 'audioWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public static var audioAudio = MIMEType(text: "audio/midi")
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
24 | public static var audioWebm = MIMEType(text: "audio/webm")
| |- warning: static property 'audioWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioWebm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioWebm' 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
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
26 | public static var audioWav = MIMEType(text: "audio/wav")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:25:23: warning: static property 'audioOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
24 | public static var audioWebm = MIMEType(text: "audio/webm")
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
| |- warning: static property 'audioOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioOgg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioOgg' 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
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:26:23: warning: static property 'audioWav' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var audioWebm = MIMEType(text: "audio/webm")
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
26 | public static var audioWav = MIMEType(text: "audio/wav")
| |- warning: static property 'audioWav' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioWav' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioWav' 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
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:28:23: warning: static property 'videoWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
| |- warning: static property 'videoWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'videoWebm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'videoWebm' 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
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:29:23: warning: static property 'videoOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
29 | public static var videoOgg = MIMEType(text: "video/ogg")
| |- warning: static property 'videoOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'videoOgg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'videoOgg' 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
30 |
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:31:23: warning: static property 'applicationOctetStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
| |- warning: static property 'applicationOctetStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'applicationOctetStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'applicationOctetStream' 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
32 | public static var applicationXml = MIMEType(text: "application/xml")
33 | public static var applicationJson = MIMEType(text: "application/json")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:32:23: warning: static property 'applicationXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
32 | public static var applicationXml = MIMEType(text: "application/xml")
| |- warning: static property 'applicationXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'applicationXml' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'applicationXml' 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
33 | public static var applicationJson = MIMEType(text: "application/json")
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:33:23: warning: static property 'applicationJson' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
32 | public static var applicationXml = MIMEType(text: "application/xml")
33 | public static var applicationJson = MIMEType(text: "application/json")
| |- warning: static property 'applicationJson' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'applicationJson' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'applicationJson' 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
34 | }
[7/14] Emitting module MultipartFormDataKit
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:8:23: warning: static property 'multipartFormData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
8 | public static var multipartFormData = MIMEType(text: "multipart/form-data")
| |- warning: static property 'multipartFormData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipartFormData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipartFormData' 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
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:10:23: warning: static property 'textPlain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public static var multipartFormData = MIMEType(text: "multipart/form-data")
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textPlain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textPlain' 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
11 | public static var textHtml = MIMEType(text: "text/html")
12 | public static var textCss = MIMEType(text: "text/css")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:11:23: warning: static property 'textHtml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
11 | public static var textHtml = MIMEType(text: "text/html")
| |- warning: static property 'textHtml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textHtml' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textHtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var textCss = MIMEType(text: "text/css")
13 | public static var textJavascript = MIMEType(text: "text/javascript")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:12:23: warning: static property 'textCss' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public static var textPlain = MIMEType(text: "text/plain")
11 | public static var textHtml = MIMEType(text: "text/html")
12 | public static var textCss = MIMEType(text: "text/css")
| |- warning: static property 'textCss' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textCss' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textCss' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:13:23: warning: static property 'textJavascript' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var textHtml = MIMEType(text: "text/html")
12 | public static var textCss = MIMEType(text: "text/css")
13 | public static var textJavascript = MIMEType(text: "text/javascript")
| |- warning: static property 'textJavascript' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textJavascript' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textJavascript' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:15:23: warning: static property 'imageGif' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
| |- warning: static property 'imageGif' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageGif' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageGif' 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
16 | public static var imagePng = MIMEType(text: "image/png")
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:16:23: warning: static property 'imagePng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
16 | public static var imagePng = MIMEType(text: "image/png")
| |- warning: static property 'imagePng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imagePng' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imagePng' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
18 | public static var imageBmp = MIMEType(text: "image/bmp")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:17:23: warning: static property 'imageJpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var imageGif = MIMEType(text: "image/gif")
16 | public static var imagePng = MIMEType(text: "image/png")
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
| |- warning: static property 'imageJpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageJpeg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageJpeg' 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
18 | public static var imageBmp = MIMEType(text: "image/bmp")
19 | public static var imageWebp = MIMEType(text: "image/webp")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:18:23: warning: static property 'imageBmp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var imagePng = MIMEType(text: "image/png")
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
18 | public static var imageBmp = MIMEType(text: "image/bmp")
| |- warning: static property 'imageBmp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageBmp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageBmp' 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 | public static var imageWebp = MIMEType(text: "image/webp")
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:19:23: warning: static property 'imageWebp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var imageJpeg = MIMEType(text: "image/jpeg")
18 | public static var imageBmp = MIMEType(text: "image/bmp")
19 | public static var imageWebp = MIMEType(text: "image/webp")
| |- warning: static property 'imageWebp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageWebp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageWebp' 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
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
21 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:20:23: warning: static property 'imageSvgXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var imageBmp = MIMEType(text: "image/bmp")
19 | public static var imageWebp = MIMEType(text: "image/webp")
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
| |- warning: static property 'imageSvgXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'imageSvgXml' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'imageSvgXml' 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
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:22:23: warning: static property 'audioAudio' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var imageSvgXml = MIMEType(text: "image/svg+xml")
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
| |- warning: static property 'audioAudio' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioAudio' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioAudio' 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
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
24 | public static var audioWebm = MIMEType(text: "audio/webm")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:23:23: warning: static property 'audioMpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
| |- warning: static property 'audioMpeg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioMpeg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioMpeg' 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
24 | public static var audioWebm = MIMEType(text: "audio/webm")
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:24:23: warning: static property 'audioWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public static var audioAudio = MIMEType(text: "audio/midi")
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
24 | public static var audioWebm = MIMEType(text: "audio/webm")
| |- warning: static property 'audioWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioWebm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioWebm' 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
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
26 | public static var audioWav = MIMEType(text: "audio/wav")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:25:23: warning: static property 'audioOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var audioMpeg = MIMEType(text: "audio/mpeg")
24 | public static var audioWebm = MIMEType(text: "audio/webm")
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
| |- warning: static property 'audioOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioOgg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioOgg' 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
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:26:23: warning: static property 'audioWav' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var audioWebm = MIMEType(text: "audio/webm")
25 | public static var audioOgg = MIMEType(text: "audio/ogg")
26 | public static var audioWav = MIMEType(text: "audio/wav")
| |- warning: static property 'audioWav' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'audioWav' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'audioWav' 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
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:28:23: warning: static property 'videoWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
| |- warning: static property 'videoWebm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'videoWebm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'videoWebm' 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
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:29:23: warning: static property 'videoOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
29 | public static var videoOgg = MIMEType(text: "video/ogg")
| |- warning: static property 'videoOgg' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'videoOgg' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'videoOgg' 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
30 |
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:31:23: warning: static property 'applicationOctetStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
| |- warning: static property 'applicationOctetStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'applicationOctetStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'applicationOctetStream' 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
32 | public static var applicationXml = MIMEType(text: "application/xml")
33 | public static var applicationJson = MIMEType(text: "application/json")
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:32:23: warning: static property 'applicationXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
32 | public static var applicationXml = MIMEType(text: "application/xml")
| |- warning: static property 'applicationXml' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'applicationXml' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'applicationXml' 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
33 | public static var applicationJson = MIMEType(text: "application/json")
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:33:23: warning: static property 'applicationJson' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | public static var applicationOctetStream = MIMEType(text: "application/octet-stream")
32 | public static var applicationXml = MIMEType(text: "application/xml")
33 | public static var applicationJson = MIMEType(text: "application/json")
| |- warning: static property 'applicationJson' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'applicationJson' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'applicationJson' 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
34 | }
[8/14] Compiling MultipartFormDataKit BoundaryGenerator.swift
[9/14] Compiling MultipartFormDataKit CRLF.swift
[10/14] Compiling MultipartFormDataKit MultipartFormData.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultipartFormDataKit/MIMEType.swift:8:23: warning: static property 'multipartFormData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
8 | public static var multipartFormData = MIMEType(text: "multipart/form-data")
| |- warning: static property 'multipartFormData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipartFormData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipartFormData' 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
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
[11/15] Compiling MultipartFormDataKit Dash.swift
[12/15] Compiling MultipartFormDataKit Name.swift
[13/15] Compiling MultipartFormDataKit MultipartFormData+Builder.swift
[14/15] Compiling MultipartFormDataKit MultipartFormData+Part.swift
[15/15] Compiling MultipartFormDataKit ValidationResult.swift
Build complete! (12.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MultipartFormDataKit",
"name" : "MultipartFormDataKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MultipartFormDataKit",
"targets" : [
"MultipartFormDataKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MultipartFormDataKitTests",
"module_type" : "SwiftTarget",
"name" : "MultipartFormDataKitTests",
"path" : "Tests/MultipartFormDataKitTests",
"sources" : [
"CompatibilityTests.swift",
"ContentDispositionTests.swift",
"ContentTypeTests.swift",
"FilenameTests.swift",
"MultipartFormDataBuilderTests.swift",
"MultipartFormDataTests.swift",
"NameTests.swift"
],
"target_dependencies" : [
"MultipartFormDataKit"
],
"type" : "test"
},
{
"c99name" : "MultipartFormDataKit",
"module_type" : "SwiftTarget",
"name" : "MultipartFormDataKit",
"path" : "Sources/MultipartFormDataKit",
"product_memberships" : [
"MultipartFormDataKit"
],
"sources" : [
"BoundaryGenerator.swift",
"CRLF.swift",
"ContentDisposition.swift",
"ContentType.swift",
"Dash.swift",
"Filename.swift",
"MIMEType.swift",
"MultipartFormData+Builder.swift",
"MultipartFormData+Part.swift",
"MultipartFormData.swift",
"Name.swift",
"ValidationResult.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.