Build Information
Successful build of Swime with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sendyhalim/Swime.git
Reference: master
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/sendyhalim/Swime
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 89ab14c Merge pull request #25 from LostMoa/master
Cloned https://github.com/sendyhalim/Swime.git
Revision (git rev-parse @):
89ab14c5c20dd71382ecd1b5eebd72c4efa4718f
SUCCESS checkout https://github.com/sendyhalim/Swime.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/sendyhalim/Swime.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/14549] Fetching quick
Fetched https://github.com/Quick/Quick from cache (0.57s)
[1/18640] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (2.08s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 7.3.3 (1.49s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 1.3.4 (0.51s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 7.3.3
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 1.3.4
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling Swime Swime.swift
/host/spi-builder-workspace/Sources/MimeType.swift:103:21: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
74 | /// Mime type string representation. For example "application/pdf"
75 | public let mime: String
:
101 |
102 | /// List of all supported `MimeType`s
103 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
104 | MimeType(
105 | mime: "audio/aac",
[4/5] Compiling Swime MimeType.swift
/host/spi-builder-workspace/Sources/MimeType.swift:103:21: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
74 | /// Mime type string representation. For example "application/pdf"
75 | public let mime: String
:
101 |
102 | /// List of all supported `MimeType`s
103 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
104 | MimeType(
105 | mime: "audio/aac",
[5/5] Emitting module Swime
/host/spi-builder-workspace/Sources/MimeType.swift:103:21: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
74 | /// Mime type string representation. For example "application/pdf"
75 | public let mime: String
:
101 |
102 | /// List of all supported `MimeType`s
103 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
104 | MimeType(
105 | mime: "audio/aac",
Build complete! (14.25s)
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "7.3.3",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
}
],
"manifest_display_name" : "Swime",
"name" : "Swime",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "Swime",
"targets" : [
"Swime"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwimeTests",
"module_type" : "SwiftTarget",
"name" : "SwimeTests",
"path" : "Tests/SwimeTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"SwimeSpec.swift",
"utils.swift"
],
"target_dependencies" : [
"Swime"
],
"type" : "test"
},
{
"c99name" : "Swime",
"module_type" : "SwiftTarget",
"name" : "Swime",
"path" : "Sources",
"product_memberships" : [
"Swime"
],
"sources" : [
"MimeType.swift",
"Swime.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.