Build Information
Successful build of DocX, reference 0.8.10 (437572
), with Swift 6.1 for macOS (SPM) on 29 Aug 2025 08:01:35 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shinjukunian/DocX.git
Reference: 0.8.10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shinjukunian/DocX
* tag 0.8.10 -> FETCH_HEAD
HEAD is now at 437572a Badges (#53)
Cloned https://github.com/shinjukunian/DocX.git
Revision (git rev-parse @):
437572ad2ae5e70d8d9e35b4a14e146372855137
SUCCESS checkout https://github.com/shinjukunian/DocX.git at 0.8.10
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/shinjukunian/AEXML.git
[1/1594] Fetching aexml
[145/7193] Fetching aexml, zipfoundation
Fetched https://github.com/shinjukunian/AEXML.git from cache (1.31s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.31s)
Computing version for https://github.com/shinjukunian/AEXML.git
Computed https://github.com/shinjukunian/AEXML.git at 4.7.0 (1.78s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.46s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/shinjukunian/AEXML.git
Working copy of https://github.com/shinjukunian/AEXML.git resolved at 4.7.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": "docx",
"name": "DocX",
"url": "https://github.com/shinjukunian/DocX.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DocX",
"dependencies": [
{
"identity": "aexml",
"name": "AEXML",
"url": "https://github.com/shinjukunian/AEXML.git",
"version": "4.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AEXML",
"dependencies": [
]
},
{
"identity": "zipfoundation",
"name": "ZIPFoundation",
"url": "https://github.com/weichsel/ZIPFoundation.git",
"version": "0.9.19",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZIPFoundation",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/shinjukunian/DocX.git
[1/1429] Fetching docx
Fetched https://github.com/shinjukunian/DocX.git from cache (1.12s)
Fetching https://github.com/weichsel/ZIPFoundation.git from cache
Fetching https://github.com/shinjukunian/AEXML.git from cache
Fetched https://github.com/shinjukunian/AEXML.git from cache (0.46s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.46s)
Computing version for https://github.com/shinjukunian/AEXML.git
Computed https://github.com/shinjukunian/AEXML.git at 4.7.0 (0.51s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.04s)
Creating working copy for https://github.com/shinjukunian/AEXML.git
Working copy of https://github.com/shinjukunian/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/shinjukunian/DocX.git
Working copy of https://github.com/shinjukunian/DocX.git resolved at 0.8.10 (437572a)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
warning: '.resolve-product-dependencies': dependency 'docx' is not used by any target
Found 2 product dependencies
- AEXML
- ZIPFoundation
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shinjukunian/DocX.git
https://github.com/shinjukunian/DocX.git
{
"dependencies" : [
{
"identity" : "aexml",
"requirement" : {
"range" : [
{
"lower_bound" : "4.6.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shinjukunian/AEXML.git"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation.git"
}
],
"manifest_display_name" : "DocX",
"name" : "DocX",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "DocX",
"targets" : [
"DocX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DocXTests",
"module_type" : "SwiftTarget",
"name" : "DocXTests",
"path" : "DocXTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/Picture1.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/blank.docx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/lenna.md",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/lenna.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/styles.xml",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DocXTests.swift",
"ImageGeneration.swift"
],
"target_dependencies" : [
"DocX"
],
"type" : "test"
},
{
"c99name" : "DocX_iOS_Tests",
"module_type" : "SwiftTarget",
"name" : "DocX-iOS-Tests",
"path" : "DocX-iOS-Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX-iOS-Tests/Picture1.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX-iOS-Tests/lenna.md",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX-iOS-Tests/lenna.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DocX_iOS_Tests.swift",
"ImageGeneration.swift"
],
"target_dependencies" : [
"DocX"
],
"type" : "test"
},
{
"c99name" : "DocX",
"module_type" : "SwiftTarget",
"name" : "DocX",
"path" : "DocX",
"product_dependencies" : [
"AEXML",
"ZIPFoundation"
],
"product_memberships" : [
"DocX"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX/blank",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AttributeElements.swift",
"AttributedString.swift",
"Bundle+Extensions.swift",
"DocX.swift",
"DocXOptions.swift",
"DocXPageDefinition.swift",
"DocXStyleConfiguration.swift",
"DocXWriter.swift",
"DocXWriting.swift",
"DocumentRoot.swift",
"FontElements.swift",
"ImageRelationship.swift",
"NSAttributedString+DocX-macOS.swift",
"NSAttributedString+DocX.swift",
"NSAttributedString+Extensions.swift",
"NSAttributedString+Writing.swift",
"NSParagraphStyle+Elements.swift",
"NSTextAttachement+Extensions.swift",
"NSUnderlineStyle+Elements.swift",
"ParagraphElement.swift",
"PlatformSpecific-iOS.swift",
"PlatformSpecific-macOS.swift",
"RubyAnnotationElement.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[4/6] Copying blank
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/34] Emitting module ZIPFoundation
[8/36] Compiling ZIPFoundation URL+ZIP.swift
[9/36] Compiling ZIPFoundation resource_bundle_accessor.swift
[10/36] Compiling ZIPFoundation Date+ZIP.swift
[11/36] Compiling ZIPFoundation Entry+Serialization.swift
[12/36] Compiling ZIPFoundation FileManager+ZIP.swift
[13/36] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[14/36] Compiling ZIPFoundation Entry+ZIP64.swift
[15/36] Compiling ZIPFoundation Entry.swift
[16/36] Compiling AEXML Options.swift
[17/36] Compiling AEXML Parser.swift
[18/36] Compiling ZIPFoundation Archive.swift
[19/36] Compiling ZIPFoundation Data+Compression.swift
[20/36] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[21/36] Compiling ZIPFoundation Data+Serialization.swift
[22/36] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[23/36] Compiling ZIPFoundation Archive+Deprecated.swift
[24/36] Compiling ZIPFoundation Archive+Helpers.swift
[25/36] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[26/36] Compiling ZIPFoundation Archive+Writing.swift
[27/36] Compiling ZIPFoundation Archive+MemoryFile.swift
[28/36] Compiling ZIPFoundation Archive+Progress.swift
[29/36] Compiling ZIPFoundation Archive+Reading.swift
[30/36] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[31/36] Compiling ZIPFoundation Archive+ZIP64.swift
[32/36] Compiling AEXML Error.swift
[33/36] Compiling AEXML Document.swift
[34/36] Compiling AEXML Element.swift
[35/36] Emitting module AEXML
[36/36] Compiling AEXML Builders.swift
[37/59] Emitting module DocX
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:58:27: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
56 |
57 | /// An A4 page
58 | public static let A4:PageSize = PageSize(size: .init(width: 595, height: 842))
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// A Letter page
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:61:27: warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
59 |
60 | /// A Letter page
61 | public static let letter:PageSize = PageSize(size: .init(width: 612, height: 792))
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | var pageSizeElement:AEXMLElement{
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:173:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// The margins of a page (insets of the printable area).
81 | public struct PageMargins:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageMargins' conform to the 'Sendable' protocol
82 |
83 | /// Top margin in twips
:
171 |
172 | /// The default margins of a standard Word document (one inch).
173 | public static let `default` = PageMargins(top: CGFloat(72), bottom: 72, left: 72, right: 72, footer: 35.4, header: 35.4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' 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
174 |
175 | var marginElement:AEXMLElement{
/Users/admin/builder/spi-builder-workspace/DocX/DocXStyleConfiguration.swift:69:24: warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /// Returns the AEXML options used to create an AEXMLDocument
69 | private static var xmlOptions: AEXMLOptions = {
| |- warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xmlOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'xmlOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var options = AEXMLOptions()
71 | options.parserSettings.shouldTrimWhitespace=false
[38/61] Compiling DocX RubyAnnotationElement.swift
[39/61] Compiling DocX resource_bundle_accessor.swift
[40/61] Compiling DocX DocX.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:58:27: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
56 |
57 | /// An A4 page
58 | public static let A4:PageSize = PageSize(size: .init(width: 595, height: 842))
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// A Letter page
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:61:27: warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
59 |
60 | /// A Letter page
61 | public static let letter:PageSize = PageSize(size: .init(width: 612, height: 792))
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | var pageSizeElement:AEXMLElement{
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:173:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// The margins of a page (insets of the printable area).
81 | public struct PageMargins:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageMargins' conform to the 'Sendable' protocol
82 |
83 | /// Top margin in twips
:
171 |
172 | /// The default margins of a standard Word document (one inch).
173 | public static let `default` = PageMargins(top: CGFloat(72), bottom: 72, left: 72, right: 72, footer: 35.4, header: 35.4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' 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
174 |
175 | var marginElement:AEXMLElement{
[41/61] Compiling DocX DocXOptions.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:58:27: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
56 |
57 | /// An A4 page
58 | public static let A4:PageSize = PageSize(size: .init(width: 595, height: 842))
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// A Letter page
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:61:27: warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
59 |
60 | /// A Letter page
61 | public static let letter:PageSize = PageSize(size: .init(width: 612, height: 792))
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | var pageSizeElement:AEXMLElement{
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:173:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// The margins of a page (insets of the printable area).
81 | public struct PageMargins:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageMargins' conform to the 'Sendable' protocol
82 |
83 | /// Top margin in twips
:
171 |
172 | /// The default margins of a standard Word document (one inch).
173 | public static let `default` = PageMargins(top: CGFloat(72), bottom: 72, left: 72, right: 72, footer: 35.4, header: 35.4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' 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
174 |
175 | var marginElement:AEXMLElement{
[42/61] Compiling DocX DocXPageDefinition.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:58:27: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
56 |
57 | /// An A4 page
58 | public static let A4:PageSize = PageSize(size: .init(width: 595, height: 842))
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// A Letter page
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:61:27: warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// The size of a page
20 | public struct PageSize:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageSize' conform to the 'Sendable' protocol
21 |
22 | ///Page width in twips
:
59 |
60 | /// A Letter page
61 | public static let letter:PageSize = PageSize(size: .init(width: 612, height: 792))
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | var pageSizeElement:AEXMLElement{
/Users/admin/builder/spi-builder-workspace/DocX/DocXPageDefinition.swift:173:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// The margins of a page (insets of the printable area).
81 | public struct PageMargins:Equatable, CustomStringConvertible, Hashable{
| `- note: consider making struct 'PageMargins' conform to the 'Sendable' protocol
82 |
83 | /// Top margin in twips
:
171 |
172 | /// The default margins of a standard Word document (one inch).
173 | public static let `default` = PageMargins(top: CGFloat(72), bottom: 72, left: 72, right: 72, footer: 35.4, header: 35.4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageDefinition.PageMargins' 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
174 |
175 | var marginElement:AEXMLElement{
[43/61] Compiling DocX PlatformSpecific-iOS.swift
[44/61] Compiling DocX PlatformSpecific-macOS.swift
[45/61] Compiling DocX NSAttributedString+Extensions.swift
[46/61] Compiling DocX NSAttributedString+Writing.swift
[47/61] Compiling DocX DocumentRoot.swift
[48/61] Compiling DocX FontElements.swift
[49/61] Compiling DocX ImageRelationship.swift
[50/61] Compiling DocX NSParagraphStyle+Elements.swift
[51/61] Compiling DocX NSTextAttachement+Extensions.swift
[52/61] Compiling DocX AttributeElements.swift
[53/61] Compiling DocX AttributedString.swift
[54/61] Compiling DocX Bundle+Extensions.swift
[55/61] Compiling DocX NSUnderlineStyle+Elements.swift
[56/61] Compiling DocX ParagraphElement.swift
[57/61] Compiling DocX NSAttributedString+DocX-macOS.swift
[58/61] Compiling DocX NSAttributedString+DocX.swift
[59/61] Compiling DocX DocXStyleConfiguration.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXStyleConfiguration.swift:69:24: warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /// Returns the AEXML options used to create an AEXMLDocument
69 | private static var xmlOptions: AEXMLOptions = {
| |- warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xmlOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'xmlOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var options = AEXMLOptions()
71 | options.parserSettings.shouldTrimWhitespace=false
[60/61] Compiling DocX DocXWriter.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXStyleConfiguration.swift:69:24: warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /// Returns the AEXML options used to create an AEXMLDocument
69 | private static var xmlOptions: AEXMLOptions = {
| |- warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xmlOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'xmlOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var options = AEXMLOptions()
71 | options.parserSettings.shouldTrimWhitespace=false
[61/61] Compiling DocX DocXWriting.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXStyleConfiguration.swift:69:24: warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | /// Returns the AEXML options used to create an AEXMLDocument
69 | private static var xmlOptions: AEXMLOptions = {
| |- warning: static property 'xmlOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xmlOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'xmlOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var options = AEXMLOptions()
71 | options.parserSettings.shouldTrimWhitespace=false
Build complete! (10.71s)
Build complete.
{
"dependencies" : [
{
"identity" : "aexml",
"requirement" : {
"range" : [
{
"lower_bound" : "4.6.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shinjukunian/AEXML.git"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation.git"
}
],
"manifest_display_name" : "DocX",
"name" : "DocX",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "DocX",
"targets" : [
"DocX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DocXTests",
"module_type" : "SwiftTarget",
"name" : "DocXTests",
"path" : "DocXTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/Picture1.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/blank.docx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/lenna.md",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/lenna.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocXTests/styles.xml",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DocXTests.swift",
"ImageGeneration.swift"
],
"target_dependencies" : [
"DocX"
],
"type" : "test"
},
{
"c99name" : "DocX_iOS_Tests",
"module_type" : "SwiftTarget",
"name" : "DocX-iOS-Tests",
"path" : "DocX-iOS-Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX-iOS-Tests/Picture1.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX-iOS-Tests/lenna.md",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX-iOS-Tests/lenna.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DocX_iOS_Tests.swift",
"ImageGeneration.swift"
],
"target_dependencies" : [
"DocX"
],
"type" : "test"
},
{
"c99name" : "DocX",
"module_type" : "SwiftTarget",
"name" : "DocX",
"path" : "DocX",
"product_dependencies" : [
"AEXML",
"ZIPFoundation"
],
"product_memberships" : [
"DocX"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/DocX/blank",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AttributeElements.swift",
"AttributedString.swift",
"Bundle+Extensions.swift",
"DocX.swift",
"DocXOptions.swift",
"DocXPageDefinition.swift",
"DocXStyleConfiguration.swift",
"DocXWriter.swift",
"DocXWriting.swift",
"DocumentRoot.swift",
"FontElements.swift",
"ImageRelationship.swift",
"NSAttributedString+DocX-macOS.swift",
"NSAttributedString+DocX.swift",
"NSAttributedString+Extensions.swift",
"NSAttributedString+Writing.swift",
"NSParagraphStyle+Elements.swift",
"NSTextAttachement+Extensions.swift",
"NSUnderlineStyle+Elements.swift",
"ParagraphElement.swift",
"PlatformSpecific-iOS.swift",
"PlatformSpecific-macOS.swift",
"RubyAnnotationElement.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.