The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DocX, reference 0.8.9 (b4ae21), with Swift 6.0 for macOS (SPM) on 31 Mar 2025 14:13:18 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shinjukunian/DocX.git
Reference: 0.8.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shinjukunian/DocX
 * tag               0.8.9      -> FETCH_HEAD
HEAD is now at b4ae21f badges (#52)
Cloned https://github.com/shinjukunian/DocX.git
Revision (git rev-parse @):
b4ae21fe4e1e46c9a8dff2964348d1200398e58a
SUCCESS checkout https://github.com/shinjukunian/DocX.git at 0.8.9
Fetching https://github.com/shinjukunian/AEXML.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/1514] Fetching aexml
[395/7076] Fetching aexml, zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.36s)
Fetched https://github.com/shinjukunian/AEXML.git from cache (1.36s)
Computing version for https://github.com/shinjukunian/AEXML.git
Computed https://github.com/shinjukunian/AEXML.git at 4.6.3 (0.54s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.43s)
Creating working copy for https://github.com/shinjukunian/AEXML.git
Working copy of https://github.com/shinjukunian/AEXML.git resolved at 4.6.3
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
========================================
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.6.3",
          "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/1418] Fetching docx
Fetched https://github.com/shinjukunian/DocX.git from cache (0.97s)
Fetching https://github.com/shinjukunian/AEXML.git from cache
Fetching https://github.com/weichsel/ZIPFoundation.git from cache
Fetched https://github.com/shinjukunian/AEXML.git from cache (0.43s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.43s)
Computing version for https://github.com/shinjukunian/AEXML.git
Computed https://github.com/shinjukunian/AEXML.git at 4.6.3 (0.02s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.03s)
Creating working copy for https://github.com/shinjukunian/AEXML.git
Working copy of https://github.com/shinjukunian/AEXML.git resolved at 4.6.3
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/DocX.git
Working copy of https://github.com/shinjukunian/DocX.git resolved at 0.8.9 (b4ae21f)
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.0
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.2.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-5BDAB9E9C0126B9D.txt
[7/33] Emitting module ZIPFoundation
[8/35] Compiling ZIPFoundation URL+ZIP.swift
[9/35] Compiling ZIPFoundation resource_bundle_accessor.swift
[10/35] Compiling AEXML Options.swift
[11/35] Compiling AEXML Error.swift
[12/35] Compiling AEXML Element.swift
[13/35] Emitting module AEXML
[14/35] Compiling AEXML Parser.swift
[15/35] Compiling AEXML Document.swift
[16/35] Compiling ZIPFoundation Archive+MemoryFile.swift
[17/35] Compiling ZIPFoundation Archive+Progress.swift
[18/35] Compiling ZIPFoundation Archive+Reading.swift
[19/35] Compiling ZIPFoundation Date+ZIP.swift
[20/35] Compiling ZIPFoundation Entry+Serialization.swift
[21/35] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[22/35] Compiling ZIPFoundation Data+Serialization.swift
[23/35] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[24/35] Compiling ZIPFoundation Archive+Writing.swift
[25/35] Compiling ZIPFoundation Entry+ZIP64.swift
[26/35] Compiling ZIPFoundation Entry.swift
[27/35] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[28/35] Compiling ZIPFoundation Archive+ZIP64.swift
[29/35] Compiling ZIPFoundation FileManager+ZIP.swift
[30/35] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[31/35] Compiling ZIPFoundation Archive.swift
[32/35] Compiling ZIPFoundation Data+Compression.swift
[33/35] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[34/35] Compiling ZIPFoundation Archive+Deprecated.swift
[35/35] Compiling ZIPFoundation Archive+Helpers.swift
[36/58] 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: annotate 'A4' 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
 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: annotate 'letter' 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
 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: annotate 'default' 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
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: annotate 'xmlOptions' 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
70 |         var options = AEXMLOptions()
71 |         options.parserSettings.shouldTrimWhitespace=false
[37/60] 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: annotate 'A4' 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
 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: annotate 'letter' 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
 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: annotate 'default' 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
174 |
175 |         var marginElement:AEXMLElement{
[38/60] 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: annotate 'A4' 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
 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: annotate 'letter' 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
 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: annotate 'default' 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
174 |
175 |         var marginElement:AEXMLElement{
[39/60] 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: annotate 'A4' 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
 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: annotate 'letter' 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
 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: annotate 'default' 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
174 |
175 |         var marginElement:AEXMLElement{
[40/60] Compiling DocX RubyAnnotationElement.swift
[41/60] Compiling DocX resource_bundle_accessor.swift
[42/60] Compiling DocX PlatformSpecific-iOS.swift
[43/60] Compiling DocX PlatformSpecific-macOS.swift
[44/60] Compiling DocX NSUnderlineStyle+Elements.swift
[45/60] Compiling DocX ParagraphElement.swift
[46/60] Compiling DocX NSAttributedString+Extensions.swift
[47/60] Compiling DocX NSAttributedString+Writing.swift
[48/60] Compiling DocX DocumentRoot.swift
[49/60] Compiling DocX FontElements.swift
[50/60] Compiling DocX ImageRelationship.swift
[51/60] Compiling DocX AttributeElements.swift
[52/60] Compiling DocX AttributedString.swift
[53/60] Compiling DocX Bundle+Extensions.swift
[54/60] Compiling DocX NSAttributedString+DocX-macOS.swift
[55/60] Compiling DocX NSAttributedString+DocX.swift
[56/60] 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: annotate 'xmlOptions' 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
70 |         var options = AEXMLOptions()
71 |         options.parserSettings.shouldTrimWhitespace=false
[57/60] 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: annotate 'xmlOptions' 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
70 |         var options = AEXMLOptions()
71 |         options.parserSettings.shouldTrimWhitespace=false
[58/60] 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: annotate 'xmlOptions' 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
70 |         var options = AEXMLOptions()
71 |         options.parserSettings.shouldTrimWhitespace=false
[59/60] Compiling DocX NSParagraphStyle+Elements.swift
[60/60] Compiling DocX NSTextAttachement+Extensions.swift
Build complete! (26.17s)
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.