Build Information
Successful build of MotoSwift, reference master (79edda
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 20:21:13 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Igor-Palaguta/MotoSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Igor-Palaguta/MotoSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 79edda3 Add Travis Badge
Cloned https://github.com/Igor-Palaguta/MotoSwift.git
Revision (git rev-parse @):
79edda3f396c924915a83af2d68a54d402132ce2
SUCCESS checkout https://github.com/Igor-Palaguta/MotoSwift.git at master
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/stencilproject/Stencil.git
[1/5189] Fetching stencil
[2/6210] Fetching stencil, spectre
[217/7621] Fetching stencil, spectre, pathkit
[495/10441] Fetching stencil, spectre, pathkit, swxmlhash
[769/14449] Fetching stencil, spectre, pathkit, swxmlhash, stencilswiftkit
[5807/26751] Fetching stencil, spectre, pathkit, swxmlhash, stencilswiftkit, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (1.15s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.15s)
[5305/20151] Fetching spectre, swxmlhash, stencilswiftkit, swift-argument-parser
[13868/39369] Fetching spectre, swxmlhash, stencilswiftkit, swift-argument-parser, nimble
Fetched https://github.com/apple/swift-argument-parser from cache (1.63s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.63s)
[4226/24247] Fetching spectre, stencilswiftkit, nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.71s)
[4112/5029] Fetching spectre, stencilswiftkit
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (4.60s)
Fetched https://github.com/kylef/Spectre.git from cache (4.60s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.7 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.66s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.6 (2.59s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (2.67s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.13.1 (0.65s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.64s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.67s)
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.7
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.4
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.6
========================================
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": "motoswift",
"name": "MotoSwift",
"url": "https://github.com/Igor-Palaguta/MotoSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MotoSwift",
"dependencies": [
{
"identity": "stencilswiftkit",
"name": "StencilSwiftKit",
"url": "https://github.com/SwiftGen/StencilSwiftKit.git",
"version": "2.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StencilSwiftKit",
"dependencies": [
{
"identity": "komondor",
"name": "Komondor",
"url": "https://github.com/shibapm/Komondor.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Komondor",
"dependencies": [
{
"identity": "packageconfig",
"name": "PackageConfig",
"url": "https://github.com/shibapm/PackageConfig.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
"dependencies": [
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/JohnSundell/ShellOut.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"dependencies": [
]
}
]
},
{
"identity": "stencil",
"name": "Stencil",
"url": "https://github.com/stencilproject/Stencil.git",
"version": "0.15.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
"dependencies": [
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit.git",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
}
]
},
{
"identity": "swxmlhash",
"name": "SWXMLHash",
"url": "https://github.com/drmohundro/SWXMLHash.git",
"version": "4.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble.git",
"version": "8.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Igor-Palaguta/MotoSwift.git
[1/954] Fetching motoswift
Fetched https://github.com/Igor-Palaguta/MotoSwift.git from cache (0.87s)
Fetching https://github.com/SwiftGen/StencilSwiftKit.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.63s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.63s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.63s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (0.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.67s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.69s)
Fetching https://github.com/stencilproject/Stencil.git from cache
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.84s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.84s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.72s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/960] Fetching shellout
[193/1540] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.87s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.87s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.65s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.48s)
Fetched https://github.com/kylef/Spectre.git from cache (0.48s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.65s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.64s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.67s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.64s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.03s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.03s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Creating working copy for https://github.com/Igor-Palaguta/MotoSwift.git
Working copy of https://github.com/Igor-Palaguta/MotoSwift.git resolved at master (79edda3)
Found 4 product dependencies
- StencilSwiftKit
- SWXMLHash
- swift-argument-parser
- Nimble
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Igor-Palaguta/MotoSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Write sources
[6/12] Write motoswift-entitlement.plist
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/45] Emitting module ArgumentParser
[11/47] Compiling ArgumentParser Argument.swift
[12/47] Compiling ArgumentParser ArgumentHelp.swift
[13/47] Compiling ArgumentParser Errors.swift
[14/47] Compiling ArgumentParser Flag.swift
[15/47] Compiling ArgumentParser NameSpecification.swift
[16/47] Compiling ArgumentParser Option.swift
[17/47] Compiling ArgumentParser ArgumentDefinition.swift
[18/47] Compiling ArgumentParser ArgumentSet.swift
[19/47] Compiling ArgumentParser ArgumentSetSequence.swift
[20/47] Compiling ArgumentParser OptionGroup.swift
[21/47] Compiling ArgumentParser CommandConfiguration.swift
[22/47] Compiling ArgumentParser ExpressibleByArgument.swift
[23/47] Compiling ArgumentParser ParsableArguments.swift
[24/47] Compiling ArgumentParser ParsableCommand.swift
[25/47] Compiling ArgumentParser ArgumentDecoder.swift
[26/47] Compiling ArgumentParser SplitArguments.swift
[27/47] Compiling ArgumentParser HelpCommand.swift
[28/47] Compiling ArgumentParser HelpGenerator.swift
[29/47] Compiling ArgumentParser StringExtensions.swift
[30/47] Compiling ArgumentParser Tree.swift
[31/47] Compiling SWXMLHash SWXMLHash.swift
[32/47] Compiling SWXMLHash shim.swift
[33/47] Emitting module SWXMLHash
[34/47] Compiling SWXMLHash SWXMLHash+TypeConversion.swift
[35/47] Compiling ArgumentParser CommandParser.swift
[36/47] Compiling ArgumentParser InputOrigin.swift
[37/47] Compiling ArgumentParser Name.swift
[38/47] Compiling ArgumentParser Parsed.swift
[39/47] Compiling ArgumentParser ParsedValues.swift
[40/47] Compiling ArgumentParser ParserError.swift
[41/47] Compiling ArgumentParser MessageInfo.swift
[42/47] Compiling ArgumentParser UsageGenerator.swift
[43/47] Compiling PathKit PathKit.swift
[44/47] Emitting module PathKit
[45/66] Compiling Stencil Lexer.swift
[46/66] Compiling Stencil Loader.swift
[47/66] Compiling Stencil Parser.swift
[48/66] Compiling Stencil Template.swift
[49/68] Compiling Stencil Node.swift
[50/68] Compiling Stencil NowTag.swift
[51/68] Compiling Stencil Inheritence.swift
[52/68] Compiling Stencil KeyPath.swift
[53/68] Compiling Stencil Context.swift
[54/68] Compiling Stencil Environment.swift
[55/68] Emitting module Stencil
[56/68] Compiling Stencil Extension.swift
[57/68] Compiling Stencil FilterTag.swift
[58/68] Compiling Stencil Errors.swift
[59/68] Compiling Stencil Expression.swift
[60/68] Compiling Stencil Filters.swift
[61/68] Compiling Stencil ForTag.swift
[62/68] Compiling Stencil IfTag.swift
[63/68] Compiling Stencil Include.swift
[64/68] Compiling Stencil Tokenizer.swift
[65/68] Compiling Stencil Variable.swift
[66/79] Compiling StencilSwiftKit SetNode.swift
[67/79] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[68/80] Compiling StencilSwiftKit Parameters.swift
[69/80] Compiling StencilSwiftKit CallMacroNodes.swift
[70/80] Compiling StencilSwiftKit Context.swift
[71/80] Compiling StencilSwiftKit MapNode.swift
[72/80] Compiling StencilSwiftKit Filters+Numbers.swift
[73/80] Emitting module StencilSwiftKit
[74/80] Compiling StencilSwiftKit Environment.swift
[75/80] Compiling StencilSwiftKit Filters+Strings.swift
[76/80] Compiling StencilSwiftKit Filters.swift
[77/80] Compiling StencilSwiftKit SwiftIdentifier.swift
[78/94] Compiling MotoSwiftFramework Relationship+XMLParser.swift
[79/95] Compiling MotoSwiftFramework Language.swift
[80/95] Compiling MotoSwiftFramework Relationship.swift
[81/95] Compiling MotoSwiftFramework Model+TemplateVariables.swift
[82/95] Compiling MotoSwiftFramework UserInfo+XMLParser.swift
[83/95] Compiling MotoSwiftFramework FetchedProperty.swift
[84/95] Compiling MotoSwiftFramework Model.swift
[85/95] Compiling MotoSwiftFramework Attribute.swift
[86/95] Compiling MotoSwiftFramework Entity.swift
[87/95] Emitting module MotoSwiftFramework
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/Attribute+XMLParser.swift:15:24: warning: static property 'typesMapping' is not concurrency-safe because non-'Sendable' type '[String : AttributeType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private extension AttributeType {
15 | private static let typesMapping: [String: AttributeType] = [
| |- warning: static property 'typesMapping' is not concurrency-safe because non-'Sendable' type '[String : AttributeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesMapping' 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
16 | "Boolean": .boolean,
17 | "Binary": .binary,
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Attribute.swift:3:13: note: consider making enum 'AttributeType' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum AttributeType {
| `- note: consider making enum 'AttributeType' conform to the 'Sendable' protocol
4 | case binary
5 | case boolean
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:41:9: warning: stored property 'path' of 'Sendable'-conforming struct 'AbsentPlistKeyError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
39 | private struct AbsentPlistKeyError: Error, CustomStringConvertible {
40 | let key: String
41 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'AbsentPlistKeyError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
42 |
43 | var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
1 | import Foundation
2 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
3 | import SWXMLHash
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:49:9: warning: stored property 'path' of 'Sendable'-conforming struct 'InvalidModelTypeError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
47 |
48 | private struct InvalidModelTypeError: Error, CustomStringConvertible {
49 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'InvalidModelTypeError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
50 |
51 | var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
[88/95] Compiling MotoSwiftFramework FetchedProperty+XMLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:41:9: warning: stored property 'path' of 'Sendable'-conforming struct 'AbsentPlistKeyError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
39 | private struct AbsentPlistKeyError: Error, CustomStringConvertible {
40 | let key: String
41 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'AbsentPlistKeyError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
42 |
43 | var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
1 | import Foundation
2 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
3 | import SWXMLHash
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:49:9: warning: stored property 'path' of 'Sendable'-conforming struct 'InvalidModelTypeError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
47 |
48 | private struct InvalidModelTypeError: Error, CustomStringConvertible {
49 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'InvalidModelTypeError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
50 |
51 | var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
[89/95] Compiling MotoSwiftFramework ModelParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:41:9: warning: stored property 'path' of 'Sendable'-conforming struct 'AbsentPlistKeyError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
39 | private struct AbsentPlistKeyError: Error, CustomStringConvertible {
40 | let key: String
41 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'AbsentPlistKeyError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
42 |
43 | var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
1 | import Foundation
2 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
3 | import SWXMLHash
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/ModelParser.swift:49:9: warning: stored property 'path' of 'Sendable'-conforming struct 'InvalidModelTypeError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
47 |
48 | private struct InvalidModelTypeError: Error, CustomStringConvertible {
49 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'InvalidModelTypeError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
50 |
51 | var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
[90/95] Compiling MotoSwiftFramework Attribute+XMLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/Attribute+XMLParser.swift:15:24: warning: static property 'typesMapping' is not concurrency-safe because non-'Sendable' type '[String : AttributeType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private extension AttributeType {
15 | private static let typesMapping: [String: AttributeType] = [
| |- warning: static property 'typesMapping' is not concurrency-safe because non-'Sendable' type '[String : AttributeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesMapping' 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
16 | "Boolean": .boolean,
17 | "Binary": .binary,
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Attribute.swift:3:13: note: consider making enum 'AttributeType' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum AttributeType {
| `- note: consider making enum 'AttributeType' conform to the 'Sendable' protocol
4 | case binary
5 | case boolean
[91/95] Compiling MotoSwiftFramework Entity+XMLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Parser/Attribute+XMLParser.swift:15:24: warning: static property 'typesMapping' is not concurrency-safe because non-'Sendable' type '[String : AttributeType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private extension AttributeType {
15 | private static let typesMapping: [String: AttributeType] = [
| |- warning: static property 'typesMapping' is not concurrency-safe because non-'Sendable' type '[String : AttributeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesMapping' 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
16 | "Boolean": .boolean,
17 | "Binary": .binary,
/Users/admin/builder/spi-builder-workspace/Sources/MotoSwiftFramework/CoreData/Attribute.swift:3:13: note: consider making enum 'AttributeType' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum AttributeType {
| `- note: consider making enum 'AttributeType' conform to the 'Sendable' protocol
4 | case binary
5 | case boolean
[92/95] Compiling MotoSwiftFramework Renderer.swift
[93/102] Compiling motoswift main.swift
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct MotoSwift: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | abstract: "Generates Swift NSManagedObject subclasses.",
7 | subcommands: [
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
4 | struct MotoSwift: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
6 | abstract: "Generates Swift NSManagedObject subclasses.",
7 | subcommands: [
[94/102] Emitting module motoswift
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct MotoSwift: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | abstract: "Generates Swift NSManagedObject subclasses.",
7 | subcommands: [
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
4 | struct MotoSwift: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
6 | abstract: "Generates Swift NSManagedObject subclasses.",
7 | subcommands: [
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/ModelCommand.swift:7:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct ModelCommand: ParsableCommand {
7 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | commandName: "model",
9 | abstract: "Generates code for all models to one file or to console."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/ModelCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 | import MotoSwiftFramework
:
5 |
6 | struct ModelCommand: ParsableCommand {
7 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
8 | commandName: "model",
9 | abstract: "Generates code for all models to one file or to console."
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/Path+ExpressibleByArgument.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
3 | import PathKit
4 |
5 | extension Path: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init?(argument: String) {
7 | self.init(argument)
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/VersionCommand.swift:5:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct VersionCommand: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | commandName: "version",
7 | abstract: "Prints current version"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/VersionCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
4 | struct VersionCommand: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
6 | commandName: "version",
7 | abstract: "Prints current version"
[95/102] Compiling motoswift Output.swift
[96/102] Compiling motoswift VersionCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/VersionCommand.swift:5:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct VersionCommand: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | commandName: "version",
7 | abstract: "Prints current version"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/VersionCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
4 | struct VersionCommand: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
6 | commandName: "version",
7 | abstract: "Prints current version"
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/VersionCommand.swift:10:17: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
8 | )
9 |
10 | private let value = "0.6.0"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'value' case to silence this warning
| `- note: make the property mutable instead
11 |
12 | func run() {
[97/102] Compiling motoswift EntityCommand.swift
[98/102] Compiling motoswift Path+ExpressibleByArgument.swift
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/Path+ExpressibleByArgument.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
3 | import PathKit
4 |
5 | extension Path: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init?(argument: String) {
7 | self.init(argument)
[99/102] Compiling motoswift ModelCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/ModelCommand.swift:7:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct ModelCommand: ParsableCommand {
7 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | commandName: "model",
9 | abstract: "Generates code for all models to one file or to console."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/motoswift/ModelCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 | import MotoSwiftFramework
:
5 |
6 | struct ModelCommand: ParsableCommand {
7 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
8 | commandName: "model",
9 | abstract: "Generates code for all models to one file or to console."
[99/102] Write Objects.LinkFileList
[100/102] Linking motoswift
[101/102] Applying motoswift
Build complete! (23.23s)
Build complete.
{
"dependencies" : [
{
"identity" : "stencilswiftkit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
},
{
"identity" : "swxmlhash",
"requirement" : {
"range" : [
{
"lower_bound" : "4.7.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drmohundro/SWXMLHash.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "MotoSwift",
"name" : "MotoSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "motoswift",
"targets" : [
"motoswift"
],
"type" : {
"executable" : null
}
},
{
"name" : "MotoSwiftFramework",
"targets" : [
"MotoSwiftFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "motoswift",
"module_type" : "SwiftTarget",
"name" : "motoswift",
"path" : "Sources/motoswift",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"motoswift"
],
"sources" : [
"EntityCommand.swift",
"ModelCommand.swift",
"Output.swift",
"Path+ExpressibleByArgument.swift",
"VersionCommand.swift",
"main.swift"
],
"target_dependencies" : [
"MotoSwiftFramework"
],
"type" : "executable"
},
{
"c99name" : "MotoSwiftFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "MotoSwiftFrameworkTests",
"path" : "Tests/MotoSwiftFrameworkTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"GeneratedClassesTests.swift",
"ModelParserTests.swift",
"RendererTests.swift",
"Utils/XCTestCase+Resource.swift"
],
"target_dependencies" : [
"MotoSwiftFramework"
],
"type" : "test"
},
{
"c99name" : "MotoSwiftFramework",
"module_type" : "SwiftTarget",
"name" : "MotoSwiftFramework",
"path" : "Sources/MotoSwiftFramework",
"product_dependencies" : [
"StencilSwiftKit",
"SWXMLHash"
],
"product_memberships" : [
"motoswift",
"MotoSwiftFramework"
],
"sources" : [
"CoreData/Attribute.swift",
"CoreData/Entity.swift",
"CoreData/FetchedProperty.swift",
"CoreData/Model.swift",
"CoreData/Parser/Attribute+XMLParser.swift",
"CoreData/Parser/Entity+XMLParser.swift",
"CoreData/Parser/FetchedProperty+XMLParser.swift",
"CoreData/Parser/ModelParser.swift",
"CoreData/Parser/Relationship+XMLParser.swift",
"CoreData/Parser/UserInfo+XMLParser.swift",
"CoreData/Relationship.swift",
"Generator/Language.swift",
"Generator/Model+TemplateVariables.swift",
"Generator/Renderer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.