Build Information
Failed to build MultipartFormDataKit, reference 1.0.1 (27bf28
), with Swift 6.1 for Linux on 25 Apr 2025 14:50:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kuniwak/MultipartFormDataKit.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kuniwak/MultipartFormDataKit.git
https://github.com/Kuniwak/MultipartFormDataKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "MultipartFormDataKit",
"name" : "MultipartFormDataKit",
"path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling MultipartFormDataKit Name.swift
[4/15] Compiling MultipartFormDataKit Dash.swift
[5/15] Compiling MultipartFormDataKit Filename.swift
[6/15] Emitting module MultipartFormDataKit
/host/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: add '@MainActor' to make static property 'multipartFormData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
/host/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: add '@MainActor' to make static property 'textPlain' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'textHtml' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'textCss' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
/host/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: add '@MainActor' to make static property 'textJavascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
/host/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: add '@MainActor' to make static property 'imageGif' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imagePng' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageJpeg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageBmp' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageWebp' part of global actor 'MainActor'
| `- 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 |
/host/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: add '@MainActor' to make static property 'imageSvgXml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
/host/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: add '@MainActor' to make static property 'audioAudio' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioMpeg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioWebm' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioOgg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
/host/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: add '@MainActor' to make static property 'audioWav' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
/host/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: add '@MainActor' to make static property 'videoWebm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
/host/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: add '@MainActor' to make static property 'videoOgg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'applicationOctetStream' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'applicationXml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static var applicationJson = MIMEType(text: "application/json")
34 | }
/host/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: add '@MainActor' to make static property 'applicationJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
[7/15] Compiling MultipartFormDataKit BoundaryGenerator.swift
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:43: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:57: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
[8/15] Compiling MultipartFormDataKit CRLF.swift
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:43: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:57: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
[9/15] Compiling MultipartFormDataKit ContentDisposition.swift
[10/15] Compiling MultipartFormDataKit ContentType.swift
[11/15] Compiling MultipartFormDataKit MIMEType.swift
/host/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: add '@MainActor' to make static property 'multipartFormData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
/host/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: add '@MainActor' to make static property 'textPlain' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'textHtml' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'textCss' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
/host/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: add '@MainActor' to make static property 'textJavascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
/host/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: add '@MainActor' to make static property 'imageGif' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imagePng' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageJpeg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageBmp' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageWebp' part of global actor 'MainActor'
| `- 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 |
/host/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: add '@MainActor' to make static property 'imageSvgXml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
/host/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: add '@MainActor' to make static property 'audioAudio' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioMpeg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioWebm' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioOgg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
/host/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: add '@MainActor' to make static property 'audioWav' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
/host/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: add '@MainActor' to make static property 'videoWebm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
/host/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: add '@MainActor' to make static property 'videoOgg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'applicationOctetStream' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'applicationXml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static var applicationJson = MIMEType(text: "application/json")
34 | }
/host/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: add '@MainActor' to make static property 'applicationJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
[12/15] Compiling MultipartFormDataKit MultipartFormData+Builder.swift
/host/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: add '@MainActor' to make static property 'multipartFormData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public static var textPlain = MIMEType(text: "text/plain")
/host/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: add '@MainActor' to make static property 'textPlain' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'textHtml' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'textCss' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var textJavascript = MIMEType(text: "text/javascript")
14 |
/host/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: add '@MainActor' to make static property 'textJavascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static var imageGif = MIMEType(text: "image/gif")
/host/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: add '@MainActor' to make static property 'imageGif' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imagePng' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageJpeg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageBmp' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'imageWebp' part of global actor 'MainActor'
| `- 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 |
/host/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: add '@MainActor' to make static property 'imageSvgXml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static var audioAudio = MIMEType(text: "audio/midi")
/host/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: add '@MainActor' to make static property 'audioAudio' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioMpeg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioWebm' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'audioOgg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var audioWav = MIMEType(text: "audio/wav")
27 |
/host/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: add '@MainActor' to make static property 'audioWav' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static var videoWebm = MIMEType(text: "video/webm")
/host/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: add '@MainActor' to make static property 'videoWebm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var videoOgg = MIMEType(text: "video/ogg")
30 |
/host/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: add '@MainActor' to make static property 'videoOgg' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'applicationOctetStream' part of global actor 'MainActor'
| `- 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")
/host/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: add '@MainActor' to make static property 'applicationXml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static var applicationJson = MIMEType(text: "application/json")
34 | }
/host/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: add '@MainActor' to make static property 'applicationJson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
[13/15] Compiling MultipartFormDataKit MultipartFormData.swift
[14/15] Compiling MultipartFormDataKit MultipartFormData+Part.swift
[15/15] Compiling MultipartFormDataKit ValidationResult.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling MultipartFormDataKit Name.swift
[3/14] Compiling MultipartFormDataKit MultipartFormData.swift
[4/14] Compiling MultipartFormDataKit MultipartFormData+Part.swift
[5/14] Compiling MultipartFormDataKit Dash.swift
[6/14] Compiling MultipartFormDataKit Filename.swift
[7/14] Compiling MultipartFormDataKit MIMEType.swift
[8/14] Compiling MultipartFormDataKit MultipartFormData+Builder.swift
[9/14] Emitting module MultipartFormDataKit
[10/14] Compiling MultipartFormDataKit ContentDisposition.swift
[11/14] Compiling MultipartFormDataKit ContentType.swift
[12/14] Compiling MultipartFormDataKit BoundaryGenerator.swift
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:43: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:57: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
[13/14] Compiling MultipartFormDataKit CRLF.swift
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:43: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
/host/spi-builder-workspace/Sources/MultipartFormDataKit/BoundaryGenerator.swift:13:57: error: cannot find 'arc4random' in scope
11 | public class RandomBoundaryGenerator: BoundaryGenerator {
12 | public static func generate() -> String {
13 | return String(format: "%08x%08x", arc4random(), arc4random())
| `- error: cannot find 'arc4random' in scope
14 | }
15 | }
[14/14] Compiling MultipartFormDataKit ValidationResult.swift
BUILD FAILURE 6.1 linux