Build Information
Successful build of CodeEditor, reference develop (14cc19
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 08:03:00 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeeZide/CodeEditor.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/CodeEditor
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 14cc191 Merge pull request #33 from lo-cafe/develop
Cloned https://github.com/ZeeZide/CodeEditor.git
Revision (git rev-parse @):
14cc19187a60a6433819d2c1564db0b4156bd55f
SUCCESS checkout https://github.com/ZeeZide/CodeEditor.git at develop
Fetching https://github.com/helje5/Highlightr
[1/1975] Fetching highlightr
Fetched https://github.com/helje5/Highlightr from cache (1.15s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (0.52s)
Creating working copy for https://github.com/helje5/Highlightr
Working copy of https://github.com/helje5/Highlightr resolved at 3.0.2
========================================
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": "codeeditor",
"name": "CodeEditor",
"url": "https://github.com/ZeeZide/CodeEditor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CodeEditor",
"dependencies": [
{
"identity": "highlightr",
"name": "Highlightr",
"url": "https://github.com/helje5/Highlightr",
"version": "3.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Highlightr",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ZeeZide/CodeEditor.git
[1/266] Fetching codeeditor
Fetched https://github.com/ZeeZide/CodeEditor.git from cache (0.73s)
Fetching https://github.com/helje5/Highlightr from cache
Fetched https://github.com/helje5/Highlightr from cache (0.45s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (0.04s)
Creating working copy for https://github.com/ZeeZide/CodeEditor.git
Working copy of https://github.com/ZeeZide/CodeEditor.git resolved at develop (14cc191)
Creating working copy for https://github.com/helje5/Highlightr
Working copy of https://github.com/helje5/Highlightr resolved at 3.0.2
warning: '.resolve-product-dependencies': dependency 'codeeditor' is not used by any target
Found 1 product dependencies
- Highlightr
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ZeeZide/CodeEditor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/94] Copying zenburn.min.css
[1/94] Copying vs2015.min.css
[1/94] Copying vs.min.css
[1/94] Copying xcode.min.css
[1/94] Copying xt256.min.css
[1/94] Copying highlight.min.js
[6/94] Copying agate.min.css
[6/94] Copying xcode-dark.min.css
[8/94] Copying tomorrow-night.min.css
[8/94] Copying tomorrow.min.css
[8/94] Copying solarized-light.min.css
[8/94] Copying tomorrow-night-blue.min.css
[12/94] Copying solarized-dark.min.css
[12/94] Copying school-book.min.css
[12/94] Copying tomorrow-night-eighties.min.css
[15/94] Copying tomorrow-night-bright.min.css
[15/94] Copying rainbow.min.css
[15/94] Copying sunburst.min.css
[15/94] Copying railscasts.min.css
[19/94] Copying shades-of-purple.min.css
[19/94] Copying routeros.min.css
[20/94] Copying paraiso-dark.min.css
[20/94] Copying qtcreator_light.min.css
[21/94] Copying paraiso-light.min.css
[22/94] Copying purebasic.min.css
[25/94] Copying pojoaque.min.css
[25/94] Copying qtcreator_dark.min.css
[25/94] Copying monokai.min.css
[25/94] Copying obsidian.min.css
[26/94] Copying ocean.min.css
[30/94] Copying mono-blue.min.css
[30/94] Copying magula.min.css
[30/94] Copying nord.min.css
[30/94] Copying kimbie.light.min.css
[30/94] Copying lightfair.min.css
[30/94] Copying monokai-sublime.min.css
[36/94] Copying isbl-editor-dark.min.css
[36/94] Copying kimbie.dark.min.css
[38/94] Copying ir-black.min.css
[39/94] Copying gruvbox-light.min.css
[40/94] Copying isbl-editor-light.min.css
[40/94] Copying grayscale.min.css
[40/94] Copying hybrid.min.css
[40/94] Copying hopscotch.min.css
[40/94] Copying idea.min.css
[40/94] Copying gruvbox-dark.min.css
[40/94] Copying googlecode.min.css
[41/94] Copying foundation.min.css
[41/94] Copying github.min.css
[41/94] Copying gml.min.css
[41/94] Copying dark.min.css
[41/94] Copying default.min.css
[41/94] Copying github-gist.min.css
[53/94] Copying darcula.min.css
[54/94] Copying far.min.css
[55/94] Copying darkula.min.css
[55/94] Copying dracula.min.css
[55/94] Copying color-brewer.min.css
[55/94] Copying codepen-embed.min.css
[55/94] Copying brown-paper.min.css
[55/94] Copying docco.min.css
[55/94] Copying atelier-sulphurpool-light.min.css
[55/94] Copying atom-one-dark.min.css
[63/94] Copying atom-one-dark-reasonable.min.css
[64/94] Copying atom-one-light.min.css
[65/94] Copying atelier-seaside-light.min.css
[66/94] Copying atelier-plateau-dark.min.css
[67/94] Copying atelier-seaside-dark.min.css
[67/94] Copying atelier-savanna-light.min.css
[67/94] Copying atelier-sulphurpool-dark.min.css
[67/94] Copying atelier-plateau-light.min.css
[67/94] Copying atelier-savanna-dark.min.css
[67/94] Copying atelier-lakeside-light.min.css
[67/94] Copying atelier-estuary-light.min.css
[70/94] Copying atelier-forest-dark.min.css
[75/94] Copying atelier-heath-light.min.css
[75/94] Copying atelier-lakeside-dark.min.css
[77/94] Copying atelier-heath-dark.min.css
[78/94] Copying atelier-estuary-dark.min.css
[78/94] Copying atelier-dune-light.min.css
[78/94] Copying atelier-forest-light.min.css
[79/94] Copying atelier-cave-dark.min.css
[82/94] Copying atelier-dune-dark.min.css
[82/94] Copying ascetic.min.css
[84/94] Copying androidstudio.min.css
[84/94] Copying arta.min.css
[86/94] Copying a11y-light.min.css
[86/94] Copying an-old-hope.min.css
[86/94] Copying arduino-light.min.css
[87/94] Copying atelier-cave-light.min.css
[90/94] Copying a11y-dark.min.css
[91/94] Write sources
[93/94] Write swift-version--7754E27361AE5C74.txt
[95/101] Compiling Highlightr resource_bundle_accessor.swift
[96/101] Compiling Highlightr Shims.swift
[97/101] Compiling Highlightr Theme.swift
[98/101] Compiling Highlightr CodeAttributedString.swift
[99/101] Emitting module Highlightr
[100/101] Compiling Highlightr Highlightr.swift
[101/101] Compiling Highlightr HTMLUtils.swift
[102/108] Compiling CodeEditor UXCodeTextView.swift
[103/108] Compiling CodeEditor CodeEditor.swift
[104/108] Compiling CodeEditor TypedString.swift
[105/108] Compiling CodeEditor Language.swift
[106/108] Emitting module CodeEditor
[107/108] Compiling CodeEditor ThemeName.swift
[108/108] Compiling CodeEditor UXCodeTextViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:133:21: warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 | // might be destructed and recreated in between calls to `makeCoordinator()`
93 | // and `updateTextView(_:)`.
94 | @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
| `- note: property declared here
95 |
96 | // MARK: - TextView Delegate Coordinator
:
125 | #endif
126 |
127 | private func textViewDidChange(textView: UXTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
128 | // This function may be called as a consequence of updating the text string
129 | // in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
131 | // turn might update a `State`, this would lead to undefined behavior.
132 | // (Changing a `State` during a `View` update is not permitted).
133 | guard !parent.isCurrentlyUpdatingView.value else {
| `- warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | return
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:137:45: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 | #endif
126 |
127 | private func textViewDidChange(textView: UXTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
128 | // This function may be called as a consequence of updating the text string
129 | // in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
135 | }
136 |
137 | parent.source.wrappedValue = textView.string
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:163:21: warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 | // might be destructed and recreated in between calls to `makeCoordinator()`
93 | // and `updateTextView(_:)`.
94 | @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
| `- note: property declared here
95 |
96 | // MARK: - TextView Delegate Coordinator
:
155 | #endif
156 |
157 | private func textViewDidChangeSelection(textView: UXCodeTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
158 | // This function may be called as a consequence of updating the selected
159 | // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
161 | // turn might update a `State`, this would lead to undefined behavior.
162 | // (Changing a `State` during a `View` update is not permitted).
163 | guard !parent.isCurrentlyUpdatingView.value else {
| `- warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
164 | return
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:171:28: warning: main actor-isolated property 'swiftSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | #endif
156 |
157 | private func textViewDidChangeSelection(textView: UXCodeTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
158 | // This function may be called as a consequence of updating the selected
159 | // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
169 | }
170 |
171 | let range = textView.swiftSelectedRange
| `- warning: main actor-isolated property 'swiftSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | if selection.wrappedValue != range {
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextView.swift:285:7: note: property declared here
283 | extension UXTextView {
284 |
285 | var swiftSelectedRange : Range<String.Index> {
| `- note: property declared here
286 | let s = self.string
287 | guard !s.isEmpty else { return s.startIndex..<s.startIndex }
Build complete! (17.68s)
Build complete.
{
"dependencies" : [
{
"identity" : "highlightr",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.2",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/helje5/Highlightr"
}
],
"manifest_display_name" : "CodeEditor",
"name" : "CodeEditor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CodeEditor",
"targets" : [
"CodeEditor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodeEditor",
"module_type" : "SwiftTarget",
"name" : "CodeEditor",
"path" : "Sources/CodeEditor",
"product_dependencies" : [
"Highlightr"
],
"product_memberships" : [
"CodeEditor"
],
"sources" : [
"CodeEditor.swift",
"Language.swift",
"ThemeName.swift",
"TypedString.swift",
"UXCodeTextView.swift",
"UXCodeTextViewRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.