Build Information
Successful build of twitter-text, reference 0.0.3 (b96594
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 20:51:38 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nysander/twitter-text.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nysander/twitter-text
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at b965940 Merge pull request #15 from Kyome22/solve-config-path-and-access-control
Cloned https://github.com/nysander/twitter-text.git
Revision (git rev-parse @):
b96594027464bf5ea0fe66d24666c878b94d6a15
SUCCESS checkout https://github.com/nysander/twitter-text.git at 0.0.3
Fetching https://github.com/nysander/UnicodeURL.git
[1/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.85s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.72s)
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "twitter-text",
"name": "twitter-text",
"url": "https://github.com/nysander/twitter-text.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/twitter-text",
"dependencies": [
{
"identity": "unicodeurl",
"name": "UnicodeURL",
"url": "https://github.com/nysander/UnicodeURL.git",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UnicodeURL",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/nysander/twitter-text.git
[1/826] Fetching twitter-text
Fetched https://github.com/nysander/twitter-text.git from cache (1.15s)
Fetching https://github.com/nysander/UnicodeURL.git from cache
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.46s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.02s)
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
Creating working copy for https://github.com/nysander/twitter-text.git
Working copy of https://github.com/nysander/twitter-text.git resolved at 0.0.3 (b965940)
warning: '.resolve-product-dependencies': dependency 'twitter-text' is not used by any target
Found 1 product dependencies
- UnicodeURL
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/nysander/twitter-text.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[2/11] Copying v2.json
[2/11] Copying v3.json
[4/11] Copying v1.json
[5/11] Write swift-version--7754E27361AE5C74.txt
[6/11] Compiling IDNSDK toxxx.c
[7/11] Compiling IDNSDK util.c
[7/11] Compiling IDNSDK puny.c
[9/11] Compiling IDNSDK nameprep.c
[10/11] Compiling IDNSDK race.c
[12/16] Compiling UnicodeURL UnicodeURL.swift
[13/16] Compiling UnicodeURL ConvertError.swift
[14/16] Compiling UnicodeURL URL+Unicode.swift
[15/16] Compiling UnicodeURL String+Unicode.swift
[16/16] Emitting module UnicodeURL
[17/28] Compiling TwitterText ValidURLGroup.swift
[18/29] Compiling TwitterText resource_bundle_accessor.swift
[19/29] Compiling TwitterText ParseResults.swift
[20/29] Compiling TwitterText String+Emoji.swift
[21/29] Compiling TwitterText Regexp.swift
[22/29] Compiling TwitterText Entity.swift
[23/29] Compiling TwitterText EntityType.swift
[24/29] Emitting module TwitterText
/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/Parser.swift:10:23: warning: static property 'defaultParser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public class Parser {
10 | public static var defaultParser = Parser(with: Configuration.configuration(fromType: ConfigurationType.v3)!)
| |- warning: static property 'defaultParser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultParser' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultParser' 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
11 |
12 | public static func setDefaultParser(with configuration: Configuration) {
[25/29] Compiling TwitterText Configuration.swift
[26/29] Compiling TwitterText ConfigurationType.swift
[27/29] Compiling TwitterText Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/Parser.swift:10:23: warning: static property 'defaultParser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public class Parser {
10 | public static var defaultParser = Parser(with: Configuration.configuration(fromType: ConfigurationType.v3)!)
| |- warning: static property 'defaultParser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultParser' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultParser' 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
11 |
12 | public static func setDefaultParser(with configuration: Configuration) {
[28/29] Compiling TwitterText WeigthedRange.swift
[29/29] Compiling TwitterText TwitterText.swift
Build complete! (10.14s)
Build complete.
{
"dependencies" : [
{
"identity" : "unicodeurl",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nysander/UnicodeURL.git"
}
],
"manifest_display_name" : "twitter-text",
"name" : "twitter-text",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TwitterText",
"targets" : [
"TwitterText"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TwitterTextTests",
"module_type" : "SwiftTarget",
"name" : "TwitterTextTests",
"path" : "Tests/TwitterTextTests",
"sources" : [
"TwitterTextEmojiTests.swift",
"TwitterTextTests.swift"
],
"target_dependencies" : [
"TwitterText"
],
"type" : "test"
},
{
"c99name" : "TwitterText",
"module_type" : "SwiftTarget",
"name" : "TwitterText",
"path" : "Sources/TwitterText",
"product_dependencies" : [
"UnicodeURL"
],
"product_memberships" : [
"TwitterText"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/config/v1.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/config/v2.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/config/v3.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Configuration.swift",
"ConfigurationType.swift",
"Entity.swift",
"EntityType.swift",
"Extensions/String+Emoji.swift",
"ParseResults.swift",
"Parser.swift",
"Regexp.swift",
"TwitterText.swift",
"ValidURLGroup.swift",
"WeigthedRange.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.