Build Information
Successful build of WebPackMiniS with Swift 6.0 for Linux.
Swift 6 data race errors: 4
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/helje5/WebPackMiniS.git
Reference: develop
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/helje5/WebPackMiniS
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 2236f16 Bring repo up2date
Cloned https://github.com/helje5/WebPackMiniS.git
Revision (git rev-parse @):
2236f16d83c8042435a5e62bdfde3cc9f158877c
SUCCESS checkout https://github.com/helje5/WebPackMiniS.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/helje5/WebPackMiniS.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling WebPackMiniS WebPack.swift
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:24:10: warning: associated value 'CouldNotLoadFile' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
22 |
23 | public enum Error : Swift.Error {
24 | case CouldNotLoadFile (URL)
| `- warning: associated value 'CouldNotLoadFile' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
25 | case DidNotFindLoader (URL)
26 | case FailedToLoad (URL, Swift.Error)
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | public class WebPack : LoaderContext {
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:25:10: warning: associated value 'DidNotFindLoader' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
23 | public enum Error : Swift.Error {
24 | case CouldNotLoadFile (URL)
25 | case DidNotFindLoader (URL)
| `- warning: associated value 'DidNotFindLoader' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
26 | case FailedToLoad (URL, Swift.Error)
27 | case CouldNotLoadDirectory(URL)
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:26:10: warning: associated value 'FailedToLoad' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
24 | case CouldNotLoadFile (URL)
25 | case DidNotFindLoader (URL)
26 | case FailedToLoad (URL, Swift.Error)
| `- warning: associated value 'FailedToLoad' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
27 | case CouldNotLoadDirectory(URL)
28 | case DidNotFindModule (String)
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:27:10: warning: associated value 'CouldNotLoadDirectory' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
25 | case DidNotFindLoader (URL)
26 | case FailedToLoad (URL, Swift.Error)
27 | case CouldNotLoadDirectory(URL)
| `- warning: associated value 'CouldNotLoadDirectory' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
28 | case DidNotFindModule (String)
29 | }
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[4/11] Compiling WebPackMiniS CSSLoader.swift
[5/11] Compiling WebPackMiniS FileLoader.swift
[6/11] Compiling WebPackMiniS WebPackLoader.swift
[7/11] Compiling WebPackMiniS JavaScriptParser.swift
[8/11] Emitting module WebPackMiniS
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:24:10: warning: associated value 'CouldNotLoadFile' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
22 |
23 | public enum Error : Swift.Error {
24 | case CouldNotLoadFile (URL)
| `- warning: associated value 'CouldNotLoadFile' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
25 | case DidNotFindLoader (URL)
26 | case FailedToLoad (URL, Swift.Error)
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | public class WebPack : LoaderContext {
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:25:10: warning: associated value 'DidNotFindLoader' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
23 | public enum Error : Swift.Error {
24 | case CouldNotLoadFile (URL)
25 | case DidNotFindLoader (URL)
| `- warning: associated value 'DidNotFindLoader' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
26 | case FailedToLoad (URL, Swift.Error)
27 | case CouldNotLoadDirectory(URL)
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:26:10: warning: associated value 'FailedToLoad' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
24 | case CouldNotLoadFile (URL)
25 | case DidNotFindLoader (URL)
26 | case FailedToLoad (URL, Swift.Error)
| `- warning: associated value 'FailedToLoad' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
27 | case CouldNotLoadDirectory(URL)
28 | case DidNotFindModule (String)
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/WebPackMiniS/WebPack.swift:27:10: warning: associated value 'CouldNotLoadDirectory' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
25 | case DidNotFindLoader (URL)
26 | case FailedToLoad (URL, Swift.Error)
27 | case CouldNotLoadDirectory(URL)
| `- warning: associated value 'CouldNotLoadDirectory' of 'Sendable'-conforming enum 'Error' has non-sendable type 'URL'; this is an error in the Swift 6 language mode
28 | case DidNotFindModule (String)
29 | }
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[9/11] Compiling WebPackMiniS Helpers.swift
[10/11] Compiling WebPackMiniS JSLoader.swift
[11/11] Compiling WebPackMiniS VueLoader.swift
Build complete! (11.91s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "WebPackMiniS",
"name" : "WebPackMiniS",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "WebPackMiniS",
"targets" : [
"WebPackMiniS"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebPackMiniSTests",
"module_type" : "SwiftTarget",
"name" : "WebPackMiniSTests",
"path" : "Tests/WebPackMiniSTests",
"sources" : [
"JavaScriptTokenizerTests.swift",
"PackingTests.swift"
],
"target_dependencies" : [
"WebPackMiniS"
],
"type" : "test"
},
{
"c99name" : "WebPackMiniS",
"module_type" : "SwiftTarget",
"name" : "WebPackMiniS",
"path" : "Sources/WebPackMiniS",
"product_memberships" : [
"WebPackMiniS"
],
"sources" : [
"Helpers.swift",
"JavaScriptParser/JavaScriptParser.swift",
"Loaders/CSSLoader.swift",
"Loaders/FileLoader.swift",
"Loaders/JSLoader.swift",
"Loaders/VueLoader.swift",
"WebPack.swift",
"WebPackLoader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.