Build Information
Successful build of EmacsSwiftModule, reference v1.3.5 (b70ebc
), with Swift 6.0 for Linux on 30 Nov 2024 08:17:03 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/SavchenkoValeriy/emacs-swift-module.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3187] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.47s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[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] Compiling EmacsEnvMock placeholder.m
[6/14] Compiling EmacsModule placeholder.m
[7/14] Write swift-version-24593BA9C3E375BF.txt
[9/31] Compiling EmacsSwiftModule Module.swift
[10/31] Compiling EmacsSwiftModule Raw.swift
[11/33] Compiling EmacsSwiftModule Value.swift
/host/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 |
/host/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.
[12/33] Compiling EmacsSwiftModule Variadic+Utils.swift
/host/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 |
/host/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.
[13/33] Emitting module ModuleInitializerInjector
[14/33] Compiling ModuleInitializerInjector ModuleInitializerInjector.swift
[15/34] Compiling EmacsSwiftModule Environment.swift
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
[16/34] Compiling EmacsSwiftModule Error.swift
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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/34] Compiling EmacsSwiftModule Defun+Boilerplate.swift
[19/34] Compiling EmacsSwiftModule Defun.swift
[20/34] Compiling EmacsSwiftModule Channel.swift
[21/34] Compiling EmacsSwiftModule Conversion.swift
[22/34] Compiling EmacsSwiftModule Channel+LispCallback+Boilerplate.swift
/host/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)
[23/34] Compiling EmacsSwiftModule Channel+SwiftCallback+Boilerplate.swift
/host/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)
[24/34] Compiling EmacsSwiftModule Call.swift
[25/34] Compiling EmacsSwiftModule Channel+Hooks+Boilerplate.swift
[26/34] Emitting module EmacsSwiftModule
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 | ///
/host/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 |
/host/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 |
/host/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.
[27/34] Compiling EmacsSwiftModule Lisp+Types.swift
[28/34] Compiling EmacsSwiftModule Lock.swift
[28/35] Wrapping AST for ModuleInitializerInjector for debugging
[29/35] Write Objects.LinkFileList
[31/35] Linking ModuleInitializerInjector
[32/35] Wrapping AST for EmacsSwiftModule for debugging
[33/35] Write Objects.LinkFileList
[34/35] Linking libEmacsSwiftModuleDynamic.so
Build complete! (27.82s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.