The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DocX, reference 0.8.12 (7b6589), with Swift 6.1 for macOS (SPM) on 20 Apr 2026 00:31:16 UTC.

Swift 6 data race errors: 5

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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shinjukunian/DocX.git
Reference: 0.8.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shinjukunian/DocX
 * tag               0.8.12     -> FETCH_HEAD
HEAD is now at 7b65899 Merge pull request #56 from oneeightyg/image-width-and-flow-pr
Cloned https://github.com/shinjukunian/DocX.git
Revision (git rev-parse @):
7b658994af26538767c4e9e01ab757bfaed21fe1
SUCCESS checkout https://github.com/shinjukunian/DocX.git at 0.8.12
========================================
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" : "11.0"
    },
    {
      "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",
        "DocXImageAttachment.swift",
        "DocXNotes.swift",
        "DocXNumbering.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 AEXML Error.swift
[9/36] Compiling AEXML Options.swift
[10/36] Compiling ZIPFoundation URL+ZIP.swift
[11/36] Compiling ZIPFoundation resource_bundle_accessor.swift
[12/36] Compiling AEXML Parser.swift
[13/36] Compiling AEXML Document.swift
[14/36] Compiling AEXML Builders.swift
[15/36] Emitting module AEXML
[16/36] Compiling AEXML Element.swift
[17/36] Compiling ZIPFoundation FileManager+ZIP.swift
[18/36] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[19/36] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[20/36] Compiling ZIPFoundation Archive+Deprecated.swift
[21/36] Compiling ZIPFoundation Archive+Helpers.swift
[22/36] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[23/36] Compiling ZIPFoundation Archive+Writing.swift
[24/36] Compiling ZIPFoundation Entry+ZIP64.swift
[25/36] Compiling ZIPFoundation Entry.swift
[26/36] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[27/36] Compiling ZIPFoundation Data+Serialization.swift
[28/36] Compiling ZIPFoundation Archive.swift
[29/36] Compiling ZIPFoundation Data+Compression.swift
[30/36] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[31/36] Compiling ZIPFoundation Archive+ZIP64.swift
[32/36] Compiling ZIPFoundation Date+ZIP.swift
[33/36] Compiling ZIPFoundation Entry+Serialization.swift
[34/36] Compiling ZIPFoundation Archive+MemoryFile.swift
[35/36] Compiling ZIPFoundation Archive+Progress.swift
[36/36] Compiling ZIPFoundation Archive+Reading.swift
[37/62] Emitting module DocX
/Users/admin/builder/spi-builder-workspace/DocX/DocXNumbering.swift:51:24: warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | /// Each case must be a valid `numFmt`, as specified in the OOXML spec
 14 | /// (though this is not everything that OOXML supports)
 15 | public enum DocXListStyle: Int, Hashable, Comparable {
    |             `- note: consider making enum 'DocXListStyle' conform to the 'Sendable' protocol
 16 |     /// Bulleted list (•, ◦, ▪, repeating...)
 17 |     case bullet
    :
 49 |
 50 |     // Defines a mapping from NSParagraphStyle attributes to DocX ones
 51 |     private static let markerFormatMapping: [(NSTextList.MarkerFormat, DocXListStyle)] = [
    |                        |- warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'markerFormatMapping' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |         (.decimal, .decimal),
 53 |         (.lowercaseLatin, .lowerLetter),
/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/64] Compiling DocX RubyAnnotationElement.swift
[39/64] Compiling DocX resource_bundle_accessor.swift
[40/64] Compiling DocX NSAttributedString+DocX-macOS.swift
[41/64] Compiling DocX NSAttributedString+DocX.swift
[42/64] Compiling DocX NSAttributedString+Extensions.swift
[43/64] Compiling DocX NSUnderlineStyle+Elements.swift
[44/64] Compiling DocX ParagraphElement.swift
[45/64] Compiling DocX DocumentRoot.swift
[46/64] Compiling DocX FontElements.swift
[47/64] Compiling DocX ImageRelationship.swift
[48/64] Compiling DocX AttributeElements.swift
[49/64] Compiling DocX AttributedString.swift
[50/64] Compiling DocX Bundle+Extensions.swift
[51/64] Compiling DocX DocX.swift
[52/64] Compiling DocX DocXImageAttachment.swift
[53/64] Compiling DocX DocXNotes.swift
[54/64] Compiling DocX NSAttributedString+Writing.swift
[55/64] Compiling DocX NSParagraphStyle+Elements.swift
[56/64] Compiling DocX NSTextAttachement+Extensions.swift
[57/64] Compiling DocX PlatformSpecific-iOS.swift
[58/64] Compiling DocX PlatformSpecific-macOS.swift
[59/64] Compiling DocX DocXNumbering.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXNumbering.swift:51:24: warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | /// Each case must be a valid `numFmt`, as specified in the OOXML spec
 14 | /// (though this is not everything that OOXML supports)
 15 | public enum DocXListStyle: Int, Hashable, Comparable {
    |             `- note: consider making enum 'DocXListStyle' conform to the 'Sendable' protocol
 16 |     /// Bulleted list (•, ◦, ▪, repeating...)
 17 |     case bullet
    :
 49 |
 50 |     // Defines a mapping from NSParagraphStyle attributes to DocX ones
 51 |     private static let markerFormatMapping: [(NSTextList.MarkerFormat, DocXListStyle)] = [
    |                        |- warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'markerFormatMapping' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |         (.decimal, .decimal),
 53 |         (.lowercaseLatin, .lowerLetter),
/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{
[60/64] Compiling DocX DocXOptions.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXNumbering.swift:51:24: warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | /// Each case must be a valid `numFmt`, as specified in the OOXML spec
 14 | /// (though this is not everything that OOXML supports)
 15 | public enum DocXListStyle: Int, Hashable, Comparable {
    |             `- note: consider making enum 'DocXListStyle' conform to the 'Sendable' protocol
 16 |     /// Bulleted list (•, ◦, ▪, repeating...)
 17 |     case bullet
    :
 49 |
 50 |     // Defines a mapping from NSParagraphStyle attributes to DocX ones
 51 |     private static let markerFormatMapping: [(NSTextList.MarkerFormat, DocXListStyle)] = [
    |                        |- warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'markerFormatMapping' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |         (.decimal, .decimal),
 53 |         (.lowercaseLatin, .lowerLetter),
/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{
[61/64] Compiling DocX DocXPageDefinition.swift
/Users/admin/builder/spi-builder-workspace/DocX/DocXNumbering.swift:51:24: warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | /// Each case must be a valid `numFmt`, as specified in the OOXML spec
 14 | /// (though this is not everything that OOXML supports)
 15 | public enum DocXListStyle: Int, Hashable, Comparable {
    |             `- note: consider making enum 'DocXListStyle' conform to the 'Sendable' protocol
 16 |     /// Bulleted list (•, ◦, ▪, repeating...)
 17 |     case bullet
    :
 49 |
 50 |     // Defines a mapping from NSParagraphStyle attributes to DocX ones
 51 |     private static let markerFormatMapping: [(NSTextList.MarkerFormat, DocXListStyle)] = [
    |                        |- warning: static property 'markerFormatMapping' is not concurrency-safe because non-'Sendable' type '[(NSTextList.MarkerFormat, DocXListStyle)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'markerFormatMapping' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |         (.decimal, .decimal),
 53 |         (.lowercaseLatin, .lowerLetter),
/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{
[62/64] 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
[63/64] 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
[64/64] 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! (15.81s)
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/shinjukunian/AEXML.git
[1/1594] Fetching aexml
[241/7557] Fetching aexml, zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.29s)
Fetched https://github.com/shinjukunian/AEXML.git from cache (1.29s)
Computing version for https://github.com/shinjukunian/AEXML.git
Computed https://github.com/shinjukunian/AEXML.git at 4.7.0 (1.79s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.52s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/shinjukunian/AEXML.git
Working copy of https://github.com/shinjukunian/AEXML.git resolved at 4.7.0
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" : "11.0"
    },
    {
      "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",
        "DocXImageAttachment.swift",
        "DocXNotes.swift",
        "DocXNumbering.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.