Build Information
Successful build of MimeParser with Swift 6.0 for Linux.
Swift 6 data race errors: 3
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/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/miximka/MimeParser.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/miximka/MimeParser
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0903ca7 Merge pull request #19 from codefodder/workflow
Cloned https://github.com/miximka/MimeParser.git
Revision (git rev-parse @):
0903ca7e885cd39bfc559cda4eb78ce537edb1b9
SUCCESS checkout https://github.com/miximka/MimeParser.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/miximka/MimeParser.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling MimeParser Mime.swift
[4/13] Compiling MimeParser HeaderParserUtilities.swift
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:11:5: warning: let 'invalidQTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
| `- warning: let 'invalidQTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.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 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
| |- note: annotate 'invalidQTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
[5/13] Emitting module MimeParser
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:11:5: warning: let 'invalidQTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
| `- warning: let 'invalidQTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.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 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
| |- note: annotate 'invalidQTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:12:5: warning: let 'invalidDTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
| |- warning: let 'invalidDTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidDTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:13:5: warning: let 'invalidCTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
| |- warning: let 'invalidCTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidCTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public struct RFC822HeaderField : Equatable {
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
[6/13] Compiling MimeParser HeaderParser.swift
[7/13] Compiling MimeParser MimeContentDecoder.swift
[8/13] Compiling MimeParser MimeParser.swift
[9/13] Compiling MimeParser RFC822ParsingUtilities.swift
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:11:5: warning: let 'invalidQTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
| `- warning: let 'invalidQTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.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 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
| |- note: annotate 'invalidQTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:12:5: warning: let 'invalidDTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
| |- warning: let 'invalidDTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidDTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/MimeParser/RFC822ParsingUtilities.swift:13:5: warning: let 'invalidCTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let invalidQTextChars: CharacterSet = CharacterSet(charactersIn: "\"\\")
12 | let invalidDTextChars: CharacterSet = CharacterSet(charactersIn: "[]\\")
13 | let invalidCTextChars: CharacterSet = CharacterSet(charactersIn: "()\\")
| |- warning: let 'invalidCTextChars' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidCTextChars' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public struct RFC822HeaderField : Equatable {
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
[10/13] Compiling MimeParser Utilities.swift
[11/14] Wrapping AST for MimeParser for debugging
[12/14] Write Objects.LinkFileList
[13/14] Linking libMimeParserDynamic.so
Build complete! (8.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MimeParser",
"name" : "MimeParser",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MimeParser",
"targets" : [
"MimeParser"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MimeParserDynamic",
"targets" : [
"MimeParser"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "MimeParserTests",
"module_type" : "SwiftTarget",
"name" : "MimeParserTests",
"path" : "Tests/MimeParserTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/SpecialCharsBoundary.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/SimpleMessageWithBinaryAttachmentCRLN.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/SimpleMessageWithTextAttachment.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/SimpleMessage.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/EmptyCc.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/MessageWithEnclosedMessageAsAttachment.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/EmailWithApplicationAttachment.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/MeetingRequestWithZeroLengthPart.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/SimpleMessageWithBinaryAttachment.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/MimeParserTests/Resources/QuotedPrintableMessage.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"EmailParsingTests.swift",
"MimeParsingTests.swift",
"RFC822ParsingUtilitiesTests.swift",
"TestAdditions.swift",
"UtilitiesTests.swift"
],
"target_dependencies" : [
"MimeParser"
],
"type" : "test"
},
{
"c99name" : "MimeParser",
"module_type" : "SwiftTarget",
"name" : "MimeParser",
"path" : "Sources/MimeParser",
"product_memberships" : [
"MimeParser",
"MimeParserDynamic"
],
"sources" : [
"HeaderParser.swift",
"HeaderParserUtilities.swift",
"Mime.swift",
"MimeContentDecoder.swift",
"MimeParser.swift",
"RFC822ParsingUtilities.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.