Build Information
Successful build of EmacsSwiftModule, reference v1.3.5 (b70ebc
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 08:25:44 UTC.
Swift 6 data race errors: 7
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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SavchenkoValeriy/emacs-swift-module.git
Reference: v1.3.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SavchenkoValeriy/emacs-swift-module
* tag v1.3.5 -> FETCH_HEAD
HEAD is now at b70ebc3 Add header license comments to all tests
Cloned https://github.com/SavchenkoValeriy/emacs-swift-module.git
Revision (git rev-parse @):
b70ebc30c4204f17e6217f2fed257609c4f139d9
SUCCESS checkout https://github.com/SavchenkoValeriy/emacs-swift-module.git at v1.3.5
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.52s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "emacs-swift-module",
"name": "EmacsSwiftModule",
"url": "https://github.com/SavchenkoValeriy/emacs-swift-module.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/emacs-swift-module",
"dependencies": [
]
}
]
}
Fetching https://github.com/SavchenkoValeriy/emacs-swift-module.git
[1/1689] Fetching emacs-swift-module
Fetched https://github.com/SavchenkoValeriy/emacs-swift-module.git from cache (0.96s)
Creating working copy for https://github.com/SavchenkoValeriy/emacs-swift-module.git
Working copy of https://github.com/SavchenkoValeriy/emacs-swift-module.git resolved at v1.3.5 (b70ebc3)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SavchenkoValeriy/emacs-swift-module.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "EmacsSwiftModule",
"name" : "EmacsSwiftModule",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "EmacsSwiftModule",
"targets" : [
"EmacsSwiftModule"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmacsSwiftModuleDynamic",
"targets" : [
"EmacsSwiftModule"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ModuleFactoryPlugin",
"targets" : [
"ModuleFactoryPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "ModuleInitializerInjector",
"targets" : [
"ModuleInitializerInjector"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ModuleInitializerInjector",
"module_type" : "SwiftTarget",
"name" : "ModuleInitializerInjector",
"path" : "Plugins",
"product_memberships" : [
"ModuleFactoryPlugin",
"ModuleInitializerInjector"
],
"sources" : [
"ModuleInitializerInjector.swift"
],
"type" : "executable"
},
{
"c99name" : "ModuleFactoryPlugin",
"module_type" : "PluginTarget",
"name" : "ModuleFactoryPlugin",
"path" : "Plugins/ModuleFactoryPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"ModuleFactoryPlugin"
],
"sources" : [
"ModuleFactoryPlugin.swift"
],
"target_dependencies" : [
"ModuleInitializerInjector"
],
"type" : "plugin"
},
{
"c99name" : "EmacsSwiftModuleTests",
"module_type" : "SwiftTarget",
"name" : "EmacsSwiftModuleTests",
"path" : "test",
"sources" : [
"Integration/IntegrationTests.swift",
"Unit/CallTests.swift",
"Unit/ChannelTests.swift",
"Unit/ConversionTests.swift",
"Unit/DefunTests.swift",
"Unit/ErrorTests.swift",
"Unit/LeaksTests.swift",
"Unit/LispTypesTests.swift",
"Unit/Mock/Swift/Builtins.swift",
"Unit/Mock/Swift/EmacsMock.swift",
"Unit/Mock/Swift/Storage.swift"
],
"target_dependencies" : [
"EmacsSwiftModule",
"EmacsEnvMock"
],
"type" : "test"
},
{
"c99name" : "EmacsSwiftModule",
"module_type" : "SwiftTarget",
"name" : "EmacsSwiftModule",
"path" : "Source/Swift",
"product_memberships" : [
"EmacsSwiftModule",
"EmacsSwiftModuleDynamic"
],
"sources" : [
"Call.swift",
"Channel+Hooks+Boilerplate.swift",
"Channel+LispCallback+Boilerplate.swift",
"Channel+SwiftCallback+Boilerplate.swift",
"Channel.swift",
"Conversion.swift",
"Defun+Boilerplate.swift",
"Defun.swift",
"Environment.swift",
"Error.swift",
"Lisp+Types.swift",
"Lock.swift",
"Module.swift",
"Raw.swift",
"Value.swift",
"Variadic+Utils.swift"
],
"target_dependencies" : [
"EmacsModule"
],
"type" : "library"
},
{
"c99name" : "EmacsModule",
"module_type" : "ClangTarget",
"name" : "EmacsModule",
"path" : "Source/C",
"product_memberships" : [
"EmacsSwiftModule",
"EmacsSwiftModuleDynamic"
],
"sources" : [
"placeholder.m"
],
"type" : "library"
},
{
"c99name" : "EmacsEnvMock",
"module_type" : "ClangTarget",
"name" : "EmacsEnvMock",
"path" : "test/Unit/Mock/C",
"sources" : [
"placeholder.m"
],
"target_dependencies" : [
"EmacsModule"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin ModuleFactoryPlugin
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/14] Write sources
[5/14] Write ModuleInitializerInjector-entitlement.plist
[6/14] Write swift-version--7754E27361AE5C74.txt
[7/16] Compiling EmacsModule placeholder.m
[8/16] Compiling EmacsEnvMock placeholder.m
[10/32] Compiling EmacsSwiftModule Value.swift
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:39:13: warning: var 'freedPersistentValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | private var freedPersistentValues = [RawEmacsValue]()
| |- warning: var 'freedPersistentValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'freedPersistentValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'freedPersistentValues' 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
40 | private var globalLock = Lock()
41 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:40:13: warning: var 'globalLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | private var freedPersistentValues = [RawEmacsValue]()
40 | private var globalLock = Lock()
| |- warning: var 'globalLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLock' 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
41 |
42 | /// An Emacs value that can be safely copied and stored.
[11/33] Compiling EmacsSwiftModule Module.swift
[12/33] Compiling EmacsSwiftModule Variadic+Utils.swift
[13/33] Compiling ModuleInitializerInjector ModuleInitializerInjector.swift
[14/33] Emitting module ModuleInitializerInjector
[14/33] Write Objects.LinkFileList
[16/33] Compiling EmacsSwiftModule Environment.swift
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:47:8: warning: associated value 'wrongType(expected:actual:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
45 | /// - actual: the name of the actual type that we received instead.
46 | /// - value: the Emacs value that caused all the trouble.
47 | case wrongType(expected: String, actual: String, value: EmacsValue)
| `- warning: associated value 'wrongType(expected:actual:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
48 | /// Generic signal error.
49 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:57:8: warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
55 | /// - symbol: the symbol categorizing this signal.
56 | /// - data: supplementary data.
57 | case signal(symbol: EmacsValue, data: EmacsValue)
| `- warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
58 | /// Emacs thrown exception.
59 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:57:8: warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
55 | /// - symbol: the symbol categorizing this signal.
56 | /// - data: supplementary data.
57 | case signal(symbol: EmacsValue, data: EmacsValue)
| `- warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
58 | /// Emacs thrown exception.
59 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:66:8: warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
64 | /// - tag: the symbol categorizing this exception.
65 | /// - value: supplementary value.
66 | case thrown(tag: EmacsValue, value: EmacsValue)
| `- warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
67 | /// Emacs user interruption (C-g).
68 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:66:8: warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
64 | /// - tag: the symbol categorizing this exception.
65 | /// - value: supplementary value.
66 | case thrown(tag: EmacsValue, value: EmacsValue)
| `- warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
67 | /// Emacs user interruption (C-g).
68 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
[17/33] Compiling EmacsSwiftModule Error.swift
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:47:8: warning: associated value 'wrongType(expected:actual:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
45 | /// - actual: the name of the actual type that we received instead.
46 | /// - value: the Emacs value that caused all the trouble.
47 | case wrongType(expected: String, actual: String, value: EmacsValue)
| `- warning: associated value 'wrongType(expected:actual:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
48 | /// Generic signal error.
49 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:57:8: warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
55 | /// - symbol: the symbol categorizing this signal.
56 | /// - data: supplementary data.
57 | case signal(symbol: EmacsValue, data: EmacsValue)
| `- warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
58 | /// Emacs thrown exception.
59 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:57:8: warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
55 | /// - symbol: the symbol categorizing this signal.
56 | /// - data: supplementary data.
57 | case signal(symbol: EmacsValue, data: EmacsValue)
| `- warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
58 | /// Emacs thrown exception.
59 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:66:8: warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
64 | /// - tag: the symbol categorizing this exception.
65 | /// - value: supplementary value.
66 | case thrown(tag: EmacsValue, value: EmacsValue)
| `- warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
67 | /// Emacs user interruption (C-g).
68 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:66:8: warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
64 | /// - tag: the symbol categorizing this exception.
65 | /// - value: supplementary value.
66 | case thrown(tag: EmacsValue, value: EmacsValue)
| `- warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
67 | /// Emacs user interruption (C-g).
68 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
[18/33] Compiling EmacsSwiftModule Channel+LispCallback+Boilerplate.swift
/Users/admin/builder/spi-builder-workspace/Source/Swift/Channel+SwiftCallback+Boilerplate.swift:173:28: warning: task-isolated value of type 'R' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
171 | env in
172 | do {
173 | try continuation.resume(returning: function(env))
| `- warning: task-isolated value of type 'R' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
174 | } catch {
175 | continuation.resume(throwing: error)
[19/33] Compiling EmacsSwiftModule Channel+SwiftCallback+Boilerplate.swift
/Users/admin/builder/spi-builder-workspace/Source/Swift/Channel+SwiftCallback+Boilerplate.swift:173:28: warning: task-isolated value of type 'R' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
171 | env in
172 | do {
173 | try continuation.resume(returning: function(env))
| `- warning: task-isolated value of type 'R' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
174 | } catch {
175 | continuation.resume(throwing: error)
[20/33] Emitting module EmacsSwiftModule
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:47:8: warning: associated value 'wrongType(expected:actual:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
45 | /// - actual: the name of the actual type that we received instead.
46 | /// - value: the Emacs value that caused all the trouble.
47 | case wrongType(expected: String, actual: String, value: EmacsValue)
| `- warning: associated value 'wrongType(expected:actual:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
48 | /// Generic signal error.
49 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:57:8: warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
55 | /// - symbol: the symbol categorizing this signal.
56 | /// - data: supplementary data.
57 | case signal(symbol: EmacsValue, data: EmacsValue)
| `- warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
58 | /// Emacs thrown exception.
59 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:57:8: warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
55 | /// - symbol: the symbol categorizing this signal.
56 | /// - data: supplementary data.
57 | case signal(symbol: EmacsValue, data: EmacsValue)
| `- warning: associated value 'signal(symbol:data:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
58 | /// Emacs thrown exception.
59 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:66:8: warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
64 | /// - tag: the symbol categorizing this exception.
65 | /// - value: supplementary value.
66 | case thrown(tag: EmacsValue, value: EmacsValue)
| `- warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
67 | /// Emacs user interruption (C-g).
68 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Error.swift:66:8: warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
64 | /// - tag: the symbol categorizing this exception.
65 | /// - value: supplementary value.
66 | case thrown(tag: EmacsValue, value: EmacsValue)
| `- warning: associated value 'thrown(tag:value:)' of 'Sendable'-conforming enum 'EmacsError' has non-sendable type 'EmacsValue'; this is an error in the Swift 6 language mode
67 | /// Emacs user interruption (C-g).
68 | ///
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:27:14: note: class 'EmacsValue' does not conform to the 'Sendable' protocol
25 | ///
26 | /// ``EmacsValue`` is only useful together with ``Environment``.
27 | public class EmacsValue {
| `- note: class 'EmacsValue' does not conform to the 'Sendable' protocol
28 | let raw: RawEmacsValue
29 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:39:13: warning: var 'freedPersistentValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | private var freedPersistentValues = [RawEmacsValue]()
| |- warning: var 'freedPersistentValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'freedPersistentValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'freedPersistentValues' 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
40 | private var globalLock = Lock()
41 |
/Users/admin/builder/spi-builder-workspace/Source/Swift/Value.swift:40:13: warning: var 'globalLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | private var freedPersistentValues = [RawEmacsValue]()
40 | private var globalLock = Lock()
| |- warning: var 'globalLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLock' 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
41 |
42 | /// An Emacs value that can be safely copied and stored.
[21/33] Compiling EmacsSwiftModule Call.swift
[22/33] Compiling EmacsSwiftModule Channel+Hooks+Boilerplate.swift
[23/33] Compiling EmacsSwiftModule Channel.swift
[24/33] Compiling EmacsSwiftModule Conversion.swift
[25/33] Compiling EmacsSwiftModule Defun+Boilerplate.swift
[26/33] Compiling EmacsSwiftModule Defun.swift
[27/33] Compiling EmacsSwiftModule Raw.swift
[28/33] Compiling EmacsSwiftModule Lisp+Types.swift
[29/33] Compiling EmacsSwiftModule Lock.swift
[29/33] Write Objects.LinkFileList
[30/33] Linking ModuleInitializerInjector
[31/33] Applying ModuleInitializerInjector
[32/33] Linking libEmacsSwiftModuleDynamic.dylib
Build complete! (22.76s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "EmacsSwiftModule",
"name" : "EmacsSwiftModule",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "EmacsSwiftModule",
"targets" : [
"EmacsSwiftModule"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmacsSwiftModuleDynamic",
"targets" : [
"EmacsSwiftModule"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ModuleFactoryPlugin",
"targets" : [
"ModuleFactoryPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "ModuleInitializerInjector",
"targets" : [
"ModuleInitializerInjector"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ModuleInitializerInjector",
"module_type" : "SwiftTarget",
"name" : "ModuleInitializerInjector",
"path" : "Plugins",
"product_memberships" : [
"ModuleFactoryPlugin",
"ModuleInitializerInjector"
],
"sources" : [
"ModuleInitializerInjector.swift"
],
"type" : "executable"
},
{
"c99name" : "ModuleFactoryPlugin",
"module_type" : "PluginTarget",
"name" : "ModuleFactoryPlugin",
"path" : "Plugins/ModuleFactoryPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"ModuleFactoryPlugin"
],
"sources" : [
"ModuleFactoryPlugin.swift"
],
"target_dependencies" : [
"ModuleInitializerInjector"
],
"type" : "plugin"
},
{
"c99name" : "EmacsSwiftModuleTests",
"module_type" : "SwiftTarget",
"name" : "EmacsSwiftModuleTests",
"path" : "test",
"sources" : [
"Integration/IntegrationTests.swift",
"Unit/CallTests.swift",
"Unit/ChannelTests.swift",
"Unit/ConversionTests.swift",
"Unit/DefunTests.swift",
"Unit/ErrorTests.swift",
"Unit/LeaksTests.swift",
"Unit/LispTypesTests.swift",
"Unit/Mock/Swift/Builtins.swift",
"Unit/Mock/Swift/EmacsMock.swift",
"Unit/Mock/Swift/Storage.swift"
],
"target_dependencies" : [
"EmacsSwiftModule",
"EmacsEnvMock"
],
"type" : "test"
},
{
"c99name" : "EmacsSwiftModule",
"module_type" : "SwiftTarget",
"name" : "EmacsSwiftModule",
"path" : "Source/Swift",
"product_memberships" : [
"EmacsSwiftModule",
"EmacsSwiftModuleDynamic"
],
"sources" : [
"Call.swift",
"Channel+Hooks+Boilerplate.swift",
"Channel+LispCallback+Boilerplate.swift",
"Channel+SwiftCallback+Boilerplate.swift",
"Channel.swift",
"Conversion.swift",
"Defun+Boilerplate.swift",
"Defun.swift",
"Environment.swift",
"Error.swift",
"Lisp+Types.swift",
"Lock.swift",
"Module.swift",
"Raw.swift",
"Value.swift",
"Variadic+Utils.swift"
],
"target_dependencies" : [
"EmacsModule"
],
"type" : "library"
},
{
"c99name" : "EmacsModule",
"module_type" : "ClangTarget",
"name" : "EmacsModule",
"path" : "Source/C",
"product_memberships" : [
"EmacsSwiftModule",
"EmacsSwiftModuleDynamic"
],
"sources" : [
"placeholder.m"
],
"type" : "library"
},
{
"c99name" : "EmacsEnvMock",
"module_type" : "ClangTarget",
"name" : "EmacsEnvMock",
"path" : "test/Unit/Mock/C",
"sources" : [
"placeholder.m"
],
"target_dependencies" : [
"EmacsModule"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.