Build Information
Successful build of text-to-emoji, reference main (e95c85
), with Swift 6.1 for Linux on 27 Apr 2025 05:40:46 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WouterWisse/text-to-emoji.git
Reference: main
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/WouterWisse/text-to-emoji
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e95c859 Update README.md
Cloned https://github.com/WouterWisse/text-to-emoji.git
Revision (git rev-parse @):
e95c859412babf24500e2496b0ac708fff5fc4a1
SUCCESS checkout https://github.com/WouterWisse/text-to-emoji.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/WouterWisse/text-to-emoji.git
https://github.com/WouterWisse/text-to-emoji.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "text-to-emoji",
"name" : "text-to-emoji",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "TextToEmoji",
"targets" : [
"TextToEmoji"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TextToEmojiTests",
"module_type" : "SwiftTarget",
"name" : "TextToEmojiTests",
"path" : "Tests/TextToEmojiTests",
"sources" : [
"Mocks/MockStringMatchScoreProvider.swift",
"StringMatchScoreProviderTests.swift",
"StringPreparationTests.swift",
"TextToEmojiTests.swift"
],
"target_dependencies" : [
"TextToEmoji"
],
"type" : "test"
},
{
"c99name" : "TextToEmoji",
"module_type" : "SwiftTarget",
"name" : "TextToEmoji",
"path" : "Sources/TextToEmoji",
"product_memberships" : [
"TextToEmoji"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Activity.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Adjectives.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/AnimalsAndNature.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Flags.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/FoodAndDrink.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Objects.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/SmileysAndPeople.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Symbols.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/TravelAndPlaces.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Activity.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Adjectives.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/AnimalsAndNature.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Flags.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/FoodAndDrink.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Objects.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/SmileysAndPeople.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Symbols.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/TravelAndPlaces.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
}
],
"sources" : [
"EmojiCategory.swift",
"Extensions/String+Preparation.swift",
"StringMatchScoreProvider.swift",
"TextToEmoji.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/21] Write sources
[0/21] Copying TravelAndPlaces.strings
[0/21] Copying Objects.strings
[0/21] Copying Flags.strings
[0/21] Copying Activity.strings
[0/21] Copying Symbols.strings
[0/21] Copying SmileysAndPeople.strings
[0/21] Copying Objects.strings
[0/21] Copying FoodAndDrink.strings
[1/21] Copying Flags.strings
[10/21] Copying Adjectives.strings
[11/21] Copying Activity.strings
[12/21] Copying TravelAndPlaces.strings
[13/21] Copying AnimalsAndNature.strings
[14/21] Copying Symbols.strings
[14/21] Copying SmileysAndPeople.strings
[14/21] Copying FoodAndDrink.strings
[14/21] Copying AnimalsAndNature.strings
[14/21] Copying Adjectives.strings
[14/21] Copying Info.plist
[20/21] Write swift-version-24593BA9C3E375BF.txt
[22/27] Compiling TextToEmoji resource_bundle_accessor.swift
[23/27] Emitting module TextToEmoji
/host/spi-builder-workspace/Sources/TextToEmoji/StringMatchScoreProvider.swift:8:17: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StringMatchScoreProvider' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct StringMatchScoreProvider {
| `- note: consider making struct 'StringMatchScoreProvider' conform to the 'Sendable' protocol
4 | var provideScore: (_ text: String, _ possibleMatch: String) -> Int
5 | }
6 |
7 | public extension StringMatchScoreProvider {
8 | static let `default` = StringMatchScoreProvider(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StringMatchScoreProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | provideScore: { text, possibleMatch in
10 | // https://en.wikipedia.org/wiki/Levenshtein_distance
[24/27] Compiling TextToEmoji TextToEmoji.swift
/host/spi-builder-workspace/Sources/TextToEmoji/TextToEmoji.swift:66:34: warning: 'init(contentsOfFile:)' is deprecated
64 | guard
65 | let path = bundle.localizedTablePath(for: tableName, localization: language),
66 | let dictionary = NSDictionary(contentsOfFile: path),
| `- warning: 'init(contentsOfFile:)' is deprecated
67 | let allKeys = dictionary.allKeys as? [String]
68 | else { continue }
/host/spi-builder-workspace/Sources/TextToEmoji/TextToEmoji.swift:33:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | category: EmojiCategory?
32 | ) async throws -> String {
33 | let emojiTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
34 | let input = text.prepareString()
35 |
36 | let allTables = EmojiCategory.allCases
37 | .map { $0.tableName }
38 | .sorted(by: { $0 == category?.tableName && $1 != category?.tableName })
| `- note: closure captures 'category' which is accessible to code in the current task
39 |
40 | for table in allTables {
[25/27] Compiling TextToEmoji EmojiCategory.swift
[26/27] Compiling TextToEmoji String+Preparation.swift
/host/spi-builder-workspace/Sources/TextToEmoji/Extensions/String+Preparation.swift:10:30: warning: 'init(contentsOfFile:)' is deprecated
8 | preparedString.components(separatedBy: " ").count > 1,
9 | let path = Bundle.module.path(forResource: "Adjectives", ofType: "strings"),
10 | let dictionary = NSDictionary(contentsOfFile: path),
| `- warning: 'init(contentsOfFile:)' is deprecated
11 | let allKeys = dictionary.allKeys as? [String]
12 | else { return preparedString }
[27/27] Compiling TextToEmoji StringMatchScoreProvider.swift
/host/spi-builder-workspace/Sources/TextToEmoji/StringMatchScoreProvider.swift:8:17: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StringMatchScoreProvider' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct StringMatchScoreProvider {
| `- note: consider making struct 'StringMatchScoreProvider' conform to the 'Sendable' protocol
4 | var provideScore: (_ text: String, _ possibleMatch: String) -> Int
5 | }
6 |
7 | public extension StringMatchScoreProvider {
8 | static let `default` = StringMatchScoreProvider(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StringMatchScoreProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | provideScore: { text, possibleMatch in
10 | // https://en.wikipedia.org/wiki/Levenshtein_distance
Build complete! (8.56s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "text-to-emoji",
"name" : "text-to-emoji",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "TextToEmoji",
"targets" : [
"TextToEmoji"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TextToEmojiTests",
"module_type" : "SwiftTarget",
"name" : "TextToEmojiTests",
"path" : "Tests/TextToEmojiTests",
"sources" : [
"Mocks/MockStringMatchScoreProvider.swift",
"StringMatchScoreProviderTests.swift",
"StringPreparationTests.swift",
"TextToEmojiTests.swift"
],
"target_dependencies" : [
"TextToEmoji"
],
"type" : "test"
},
{
"c99name" : "TextToEmoji",
"module_type" : "SwiftTarget",
"name" : "TextToEmoji",
"path" : "Sources/TextToEmoji",
"product_memberships" : [
"TextToEmoji"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Activity.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Adjectives.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/AnimalsAndNature.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Flags.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/FoodAndDrink.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Objects.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/SmileysAndPeople.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/Symbols.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/en.lproj/TravelAndPlaces.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Activity.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Adjectives.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/AnimalsAndNature.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Flags.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/FoodAndDrink.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Objects.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/SmileysAndPeople.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/Symbols.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/TextToEmoji/Resources/nl.lproj/TravelAndPlaces.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
}
],
"sources" : [
"EmojiCategory.swift",
"Extensions/String+Preparation.swift",
"StringMatchScoreProvider.swift",
"TextToEmoji.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
Done.