Build Information
Successful build of Configuration with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/Kitura/Configuration.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/Kitura/Configuration
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 75fb964 Update CI; Swift 5.2 is now minimum supported (#65)
Cloned https://github.com/Kitura/Configuration.git
Revision (git rev-parse @):
75fb96405263e72a2ed4546dceebe0993b92eb79
SUCCESS checkout https://github.com/Kitura/Configuration.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/Kitura/Configuration.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.25s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.51s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.56s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.51s)
Fetching https://github.com/apple/swift-log.git
[1/3353] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.50s)
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Compiling Logging Locks.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[12/13] Emitting module LoggerAPI
[13/13] Compiling LoggerAPI Logger.swift
[15/16] Emitting module FileKit
[16/16] Compiling FileKit FileKit.swift
[18/23] Compiling Configuration PLISTDeserializer.swift
/host/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
| `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `PLISTDeserializer` instance.
24 | public static let shared = PLISTDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 |
26 | /// A unique name that identifies this deserializer.
[19/23] Compiling Configuration Deserializer.swift
[20/23] Compiling Configuration JSONDeserializer.swift
/host/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
| `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `JSONDeserializer` instance.
24 | public static let shared = JSONDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 |
26 | /// A unique name that identifies this deserializer.
[21/23] Compiling Configuration ConfigurationNode.swift
[22/23] Emitting module Configuration
/host/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
| `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `JSONDeserializer` instance.
24 | public static let shared = JSONDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 |
26 | /// A unique name that identifies this deserializer.
/host/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
| `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `PLISTDeserializer` instance.
24 | public static let shared = PLISTDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 |
26 | /// A unique name that identifies this deserializer.
[23/23] Compiling Configuration ConfigurationManager.swift
/host/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
| `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `JSONDeserializer` instance.
24 | public static let shared = JSONDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 |
26 | /// A unique name that identifies this deserializer.
/host/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
| `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `PLISTDeserializer` instance.
24 | public static let shared = PLISTDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 |
26 | /// A unique name that identifies this deserializer.
Build complete! (23.96s)
Build complete.
{
"dependencies" : [
{
"identity" : "filekit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/FileKit.git"
}
],
"manifest_display_name" : "Configuration",
"name" : "Configuration",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Configuration",
"targets" : [
"Configuration"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConfigurationTests",
"module_type" : "SwiftTarget",
"name" : "ConfigurationTests",
"path" : "Tests/ConfigurationTests",
"sources" : [
"ConfigurationManagerTest.swift",
"ConfigurationNodeTest.swift",
"LinuxSafeguardTest.swift"
],
"target_dependencies" : [
"Configuration"
],
"type" : "test"
},
{
"c99name" : "Configuration",
"module_type" : "SwiftTarget",
"name" : "Configuration",
"path" : "Sources/Configuration",
"product_dependencies" : [
"FileKit"
],
"product_memberships" : [
"Configuration"
],
"sources" : [
"ConfigurationManager.swift",
"ConfigurationNode.swift",
"Deserializer.swift",
"Deserializers/JSONDeserializer.swift",
"Deserializers/PLISTDeserializer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.