Build Information
Successful build of SwiftGLFW, reference 4.3.0 (6e184a), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 12:56:07 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thepotatoking55/SwiftGLFW.git
Reference: 4.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thepotatoking55/SwiftGLFW
* tag 4.3.0 -> FETCH_HEAD
HEAD is now at 6e184a7 Remove `openGLVersion` hint
Cloned https://github.com/thepotatoking55/SwiftGLFW.git
Revision (git rev-parse @):
6e184a7020d93a333ac36fe17bf00a657ae83a48
SUCCESS checkout https://github.com/thepotatoking55/SwiftGLFW.git at 4.3.0
Fetching https://github.com/thepotatoking55/CGLFW3.git
[1/261] Fetching cglfw3
Fetched https://github.com/thepotatoking55/CGLFW3.git from cache (0.92s)
Creating working copy for https://github.com/thepotatoking55/CGLFW3.git
Working copy of https://github.com/thepotatoking55/CGLFW3.git resolved at main (b179e80)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/thepotatoking55/SwiftGLFW.git
[1/768] Fetching swiftglfw
Fetched https://github.com/thepotatoking55/SwiftGLFW.git from cache (0.85s)
Fetching https://github.com/thepotatoking55/CGLFW3.git from cache
Fetched https://github.com/thepotatoking55/CGLFW3.git from cache (0.47s)
error: Invalid manifest (compiled with: ["/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.BKUlXt/vfs.yaml", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx14.0", "-plugin-path", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-F", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-package-description-version", "5.10.0", "/Package.swift", "-o", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.INPTDU/cglfw3-manifest"])
/Package.swift:52:15: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
50 | #endif
51 |
52 | let package = Package(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
53 | name: "CGLFW3",
54 | products: [ in https://github.com/thepotatoking55/CGLFW3.git
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/thepotatoking55/SwiftGLFW.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Compiling CGLFW3 dummy.c
[2/3] Write swift-version--6988338F2F200930.txt
[4/26] Emitting module GLFW
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:4:33: warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
| |- warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:4:33: warning: conformance of 'GLFWContext' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
| |- warning: conformance of 'GLFWContext' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:4:32: warning: conformance of 'GLFWWindow' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
| |- warning: conformance of 'GLFWWindow' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public static var hints = Hints()
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[5/28] Compiling GLFW Point.swift
[6/28] Compiling GLFW Size.swift
[7/28] Compiling GLFW Session.swift
[8/28] Compiling GLFW Color.swift
[9/28] Compiling GLFW Mouse.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:4:33: warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
| |- warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:128:17: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
126 | set {
127 | let red = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
128 | red.assign(from: newValue.red, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
129 | let green = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
130 | green.assign(from: newValue.green, count: newValue.stops.count)
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:130:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
128 | red.assign(from: newValue.red, count: newValue.stops.count)
129 | let green = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
130 | green.assign(from: newValue.green, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
131 | let blue = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
132 | blue.assign(from: newValue.blue, count: newValue.stops.count)
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:132:18: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
130 | green.assign(from: newValue.green, count: newValue.stops.count)
131 | let blue = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
132 | blue.assign(from: newValue.blue, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
133 | var ramp = GLFWgammaramp(red: red, green: green, blue: blue, size: newValue.size)
134 | glfwSetGammaRamp(pointer, &ramp)
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/28] Compiling GLFW Monitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:4:33: warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
| |- warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:128:17: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
126 | set {
127 | let red = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
128 | red.assign(from: newValue.red, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
129 | let green = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
130 | green.assign(from: newValue.green, count: newValue.stops.count)
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:130:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
128 | red.assign(from: newValue.red, count: newValue.stops.count)
129 | let green = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
130 | green.assign(from: newValue.green, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
131 | let blue = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
132 | blue.assign(from: newValue.blue, count: newValue.stops.count)
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:132:18: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
130 | green.assign(from: newValue.green, count: newValue.stops.count)
131 | let blue = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
132 | blue.assign(from: newValue.blue, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
133 | var ramp = GLFWgammaramp(red: red, green: green, blue: blue, size: newValue.size)
134 | glfwSetGammaRamp(pointer, &ramp)
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/28] Compiling GLFW Linux.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:4:33: warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
| |- warning: conformance of 'GLFWMonitor' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:128:17: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
126 | set {
127 | let red = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
128 | red.assign(from: newValue.red, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
129 | let green = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
130 | green.assign(from: newValue.green, count: newValue.stops.count)
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:130:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
128 | red.assign(from: newValue.red, count: newValue.stops.count)
129 | let green = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
130 | green.assign(from: newValue.green, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
131 | let blue = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
132 | blue.assign(from: newValue.blue, count: newValue.stops.count)
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:132:18: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
130 | green.assign(from: newValue.green, count: newValue.stops.count)
131 | let blue = UnsafeMutablePointer<CUnsignedShort>.allocate(capacity: newValue.stops.count)
132 | blue.assign(from: newValue.blue, count: newValue.stops.count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
133 | var ramp = GLFWgammaramp(red: red, green: green, blue: blue, size: newValue.size)
134 | glfwSetGammaRamp(pointer, &ramp)
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/28] Compiling GLFW Window.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:4:32: warning: conformance of 'GLFWWindow' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
| |- warning: conformance of 'GLFWWindow' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public static var hints = Hints()
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:81:42: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
:
79 |
80 | nonisolated public var shouldClose: Bool {
81 | get { Bool(glfwWindowShouldClose(pointer)) }
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
82 | set { glfwSetWindowShouldClose(pointer, newValue.int32) }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:82:40: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
:
80 | nonisolated public var shouldClose: Bool {
81 | get { Bool(glfwWindowShouldClose(pointer)) }
82 | set { glfwSetWindowShouldClose(pointer, newValue.int32) }
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:130:25: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
:
128 |
129 | nonisolated public func swapBuffers() {
130 | glfwSwapBuffers(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
131 | }
132 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[13/28] Compiling GLFW WindowAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:4:32: warning: conformance of 'GLFWWindow' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
| |- warning: conformance of 'GLFWWindow' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | public static var hints = Hints()
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:81:42: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
:
79 |
80 | nonisolated public var shouldClose: Bool {
81 | get { Bool(glfwWindowShouldClose(pointer)) }
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
82 | set { glfwSetWindowShouldClose(pointer, newValue.int32) }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:82:40: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
:
80 | nonisolated public var shouldClose: Bool {
81 | get { Bool(glfwWindowShouldClose(pointer)) }
82 | set { glfwSetWindowShouldClose(pointer, newValue.int32) }
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:130:25: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
:
128 |
129 | nonisolated public func swapBuffers() {
130 | glfwSwapBuffers(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
131 | }
132 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[14/28] Compiling GLFW Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:4:33: warning: conformance of 'GLFWContext' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
| |- warning: conformance of 'GLFWContext' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:8:14: warning: main actor-isolated property 'pointer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: mutation of this property is only permitted within the actor
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
8 | self.pointer = pointer
| `- warning: main actor-isolated property 'pointer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:16:32: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
:
14 |
15 | nonisolated public func makeCurrent() {
16 | glfwMakeContextCurrent(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:67:21: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | extension GLFWWindow {
66 | nonisolated public var context: GLFWContext {
67 | GLFWContext(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[15/28] Compiling GLFW Hints.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:4:33: warning: conformance of 'GLFWContext' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
2 |
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
| |- warning: conformance of 'GLFWContext' to protocol 'GLFWObject' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
5 | public let pointer: OpaquePointer?
| `- note: main actor-isolated property 'pointer' cannot satisfy nonisolated requirement
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:8:14: warning: main actor-isolated property 'pointer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: mutation of this property is only permitted within the actor
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
8 | self.pointer = pointer
| `- warning: main actor-isolated property 'pointer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:16:32: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
:
14 |
15 | nonisolated public func makeCurrent() {
16 | glfwMakeContextCurrent(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:67:21: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | extension GLFWWindow {
66 | nonisolated public var context: GLFWContext {
67 | GLFWContext(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[16/28] Compiling GLFW Image.swift
[17/28] Compiling GLFW Margins.swift
[18/28] Compiling GLFW ContentScale.swift
[19/28] Compiling GLFW Frame.swift
[20/28] Compiling GLFW ButtonState.swift
[21/28] Compiling GLFW Gamepad.swift
[22/28] Compiling GLFW Keyboard.swift
[23/28] Compiling GLFW Windows.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:15:36: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
13 | extension GLFWMonitor {
14 | nonisolated public var directDisplayID: CGDirectDisplayID {
15 | return glfwGetCocoaMonitor(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:21:35: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 | extension GLFWWindow {
20 | nonisolated public var nsWindow: NSWindow? {
21 | return glfwGetCocoaWindow(pointer) as? NSWindow
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:80:35: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 | @available(macOS, deprecated: 10.14, message: "Please use Metal or MetalKit.")
79 | nonisolated public var nsOpenGLContext: NSOpenGLContext? {
80 | return glfwGetNSGLContext(pointer) as? NSOpenGLContext
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
[24/28] Compiling GLFW macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:15:36: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
13 | extension GLFWMonitor {
14 | nonisolated public var directDisplayID: CGDirectDisplayID {
15 | return glfwGetCocoaMonitor(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:21:35: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 | extension GLFWWindow {
20 | nonisolated public var nsWindow: NSWindow? {
21 | return glfwGetCocoaWindow(pointer) as? NSWindow
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:80:35: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 | @available(macOS, deprecated: 10.14, message: "Please use Metal or MetalKit.")
79 | nonisolated public var nsOpenGLContext: NSOpenGLContext? {
80 | return glfwGetNSGLContext(pointer) as? NSOpenGLContext
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
[25/28] Compiling GLFW ObjectProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:15:36: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
13 | extension GLFWMonitor {
14 | nonisolated public var directDisplayID: CGDirectDisplayID {
15 | return glfwGetCocoaMonitor(pointer)
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Monitor/Monitor.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWMonitor: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public var connectionHandler: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:21:35: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 | extension GLFWWindow {
20 | nonisolated public var nsWindow: NSWindow? {
21 | return glfwGetCocoaWindow(pointer) as? NSWindow
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Window.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWWindow: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | public static var hints = Hints()
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Native Extensions/macOS.swift:80:35: warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 | @available(macOS, deprecated: 10.14, message: "Please use Metal or MetalKit.")
79 | nonisolated public var nsOpenGLContext: NSOpenGLContext? {
80 | return glfwGetNSGLContext(pointer) as? NSOpenGLContext
| `- warning: main actor-isolated property 'pointer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/GLFW/Window/Context.swift:5:16: note: property declared here
3 | @MainActor
4 | public final class GLFWContext: GLFWObject {
5 | public let pointer: OpaquePointer?
| `- note: property declared here
6 |
7 | nonisolated init(_ pointer: OpaquePointer?) {
[26/28] Compiling GLFW Constants.swift
[27/28] Compiling GLFW Error.swift
[28/28] Compiling GLFW Extensions.swift
Build complete! (10.07s)
Build complete.
{
"dependencies" : [
{
"identity" : "cglfw3",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/thepotatoking55/CGLFW3.git"
}
],
"manifest_display_name" : "SwiftGLFW",
"name" : "SwiftGLFW",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftGLFW",
"targets" : [
"GLFW"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GLFWTests",
"module_type" : "SwiftTarget",
"name" : "GLFWTests",
"path" : "Tests/GLFWTests",
"sources" : [
"GLFWTests.swift"
],
"target_dependencies" : [
"GLFW"
],
"type" : "test"
},
{
"c99name" : "GLFW",
"module_type" : "SwiftTarget",
"name" : "GLFW",
"path" : "Sources/GLFW",
"product_dependencies" : [
"CGLFW3"
],
"product_memberships" : [
"SwiftGLFW"
],
"sources" : [
"Constants.swift",
"Error.swift",
"Extensions.swift",
"Input/ButtonState.swift",
"Input/Gamepad.swift",
"Input/Keyboard.swift",
"Input/Mouse.swift",
"Monitor/Monitor.swift",
"Native Extensions/Linux.swift",
"Native Extensions/Windows.swift",
"Native Extensions/macOS.swift",
"ObjectProtocol.swift",
"Session.swift",
"Structs/Color.swift",
"Structs/ContentScale.swift",
"Structs/Frame.swift",
"Structs/Image.swift",
"Structs/Margins.swift",
"Structs/Point.swift",
"Structs/Size.swift",
"Window/Context.swift",
"Window/Hints.swift",
"Window/Window.swift",
"Window/WindowAttributes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.